HorizonDataAdapter

Interface for a horizon data adapter that provides objects of a specific type inside a requested bounding box.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard

Adds a DataUpdatedListener. The horizon data adapter notifies the listener of any update to the tiles of interest.

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun provide(boundingBoxes: List<GeoBoundingBox>): HorizonDataSnapshot

Requests data for a list of bounding boxes.

Link copied to clipboard
Link copied to clipboard
abstract fun subscribe(boundingBoxes: List<GeoBoundingBox>)

Subscribe to a list of GeoBoundingBox in which you are interested.

Link copied to clipboard
abstract fun unsubscribe(boundingBoxes: List<GeoBoundingBox>)

Unsubscribe from a list of previously subscribed GeoBoundingBox in which you no longer have an interest.

Properties

Link copied to clipboard
abstract val type: DataType

Type of DataObject provided by the HorizonDataAdapter.