setDefaultResourceOptions

Override the default used resource options given a context and access token. This function allows you to use standard configuration, Context is used to look up the app specific directories. Access token is used to authenticate with Mapbox API endpoints.

fun setDefaultResourceOptions(context: Context, accessToken: String): ResourceOptions

Override the default used resource options given a ResourceOptions configuration object. This allows to have full control over the location of the database.

fun setDefaultResourceOptions(resourceOptions: ResourceOptions)