clearData

fun clearData(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

callback

Called once the request is complete or an error occurred.