clearData

fun clearData(resourceOptions: ResourceOptions, callback: AsyncOperationResultCallback)

Clears temporary map data.

Clears temporary map data from the data path defined in the given resource options. Useful to reduce the disk usage or in case the disk cache contains invalid data.

Note that calling this API will affect all maps that use the same data path and does not affect persistent map data like offline style packages.

Parameters

resourceOptions

The resource options that contain the map data path to be used

callback

Called once the request is complete or an error occurred.