Offline Switch
open class OfflineSwitch
Content copied to clipboard
Instance that allows connecting or disconnecting the Mapbox stack to the network.
Functions
get Instance
Link copied to clipboard
Returns the OfflineSwitch singleton instance.
is Mapbox Stack Connected
Link copied to clipboard
Provides information if the Mapbox stack is connected or disconnected via OfflineSwitch.
register Observer
Link copied to clipboard
set Mapbox Stack Connected
Link copied to clipboard
Connects or disconnects the Mapbox stack.
unregister Observer
Link copied to clipboard