HorizonDataAdapter
Interface to a horizon data adapter that provides data objects of a requested data type within a requested bounding box.
Important: This is a Public Preview API. It may be changed or removed at any time.
Properties
Link copied to clipboard
The type of the DataObject provided by the HorizonDataAdapter.
Functions
Link copied to clipboard
Adds a data update listener. The horizon data adapter notifies the listener of any update to any of the bounding boxes of interest.
Link copied to clipboard
abstract fun provide(boundingBoxes: List<GeoBoundingBox>, locationDecoder: LocationDecoder): HorizonDataSnapshot
Requests data for a list of bounding boxes.
Link copied to clipboard
Removes a data update listener.
Link copied to clipboard
Subscribes to a list of bounding boxes of interest.
Link copied to clipboard
Unsubscribes from a list of previously subscribed bounding boxes that are no longer of interest.