AndroidBundledAssetReader

Constructors

Link copied to clipboard
constructor(application: Application)

Functions

Link copied to clipboard
inline fun <T> BundledAssetReader.decode(name: String, json: Json): T?

Decodes bundled asset name to T using the shared tolerant json, or null if the asset is absent.

Link copied to clipboard
open override fun open(name: String): Source?

Opens name (e.g. "device_links.json"), or returns null if the asset is absent.