BundleLocation

sealed interface BundleLocation

Represents the location of a map bundle either within the assets directory or the file system.

BundleLocation is a sealed class and so users should instantiate either BundleLocation.Assets or BundleLocation.Files depending upon the location of the map bundle.

Inheritors

Types

Link copied to clipboard
class Assets(folderPath: String) : BundleLocation
Link copied to clipboard
class Files(folderPath: String) : BundleLocation

Functions

Link copied to clipboard
abstract fun readToInputStream(filename: String): InputStream
Link copied to clipboard
abstract fun rootContainsFile(filename: String): Boolean