Asset

data class Asset(val name: String) : EmbeddedConfiguration

A bundled resource addressed by name.

  • Android: assets/<name> in the APK (library assets merged into the APK are addressable the same way). Requires one of the Context-aware setup paths — withAndroidStorage(context) or fromAssets(context) — which read the asset.

  • JVM: a classpath resource with that name.

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard

Resource name, including any extension, e.g. "trustpin-seed.b64".