AssetService

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun acquireDependencies(resolver: ServiceResolver<Base>)
Called after all services are registered, but none are started.
Link copied to clipboard
abstract fun getLocales(): Array<String>
Link copied to clipboard
abstract fun list(@NonNull path: String): Array<String>
Link copied to clipboard
open fun onServiceStarted()
Called after acquireDependencies
Link copied to clipboard
open fun onServiceStopped()
Called on teardown.
Link copied to clipboard
abstract fun open(fileName: String): InputStream
abstract fun open(fileName: String, accessMode: AssetService.AccessMode): InputStream
Link copied to clipboard
abstract fun openFd(fileName: String): AssetFileDescriptor
Link copied to clipboard
abstract fun openNonAssetFd(cookie: Int, fileName: String): AssetFileDescriptor
Link copied to clipboard