OfflineSwitch
open class OfflineSwitch
Content copied to clipboard
Instance that allows connecting or disconnecting the Mapbox stack to the network.
Functions
getInstance
Link copied to clipboard
Returns the OfflineSwitch singleton instance.
isMapboxStackConnected
Link copied to clipboard
Provides information if the Mapbox stack is connected or disconnected via OfflineSwitch.
registerObserver
Link copied to clipboard
setMapboxStackConnected
Link copied to clipboard
Connects or disconnects the Mapbox stack.
unregisterObserver
Link copied to clipboard