SafetyLocationsOptions
class SafetyLocationsOptions(val boundingBoxes: List<GeoBoundingBox>, val types: List<SafetyLocationType> = SafetyLocationType.getAllSafetyLocationTypes())
Configuration options that can be used to subscribe to, unsubscribe from and provide safety locations. The options specify the rectangular areas of interest as well as the safety location types of interest for these areas.
Parameters
boundingBoxes
Rectangular areas of interest.
types
A list of safety location types within boundingBoxes. If the options do not specify any types, the options cover all the supported types.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Link copied to clipboard
constructor(boundingBoxes: List<GeoBoundingBox>, types: List<SafetyLocationType> = SafetyLocationType.getAllSafetyLocationTypes())
Properties
Link copied to clipboard
A list of rectangular areas of interest.
Link copied to clipboard
A list of safety location types of interest within boundingBoxes. By default, the list contains all the supported safety location types.