createOfflineRegion

Creates a new offline region based on a geometry

Parameters

callback

Invoked upon success and failure. This callback is invoked on the database thread and the user is responsible for dispatching to an appropriate thread before passing it along.

geometryDefinition

A previously defined definition over the region.

abstract fun createOfflineRegion(geometryDefinition: OfflineRegionGeometryDefinition, callback: OfflineRegionCreateCallback)

Creates a new offline region based on a tile pyramid

Parameters

callback

Invoked upon success and failure. This callback is invoked on the database thread and the user is responsible for dispatching to an appropriate thread before passing it along.

tilePyramidDefinition

A tile pyramid definition

abstract fun createOfflineRegion(tilePyramidDefinition: OfflineRegionTilePyramidDefinition, callback: OfflineRegionCreateCallback)