OfflineSwitch class

Controls the Mapbox network stack connectivity.

Supported platforms: Android and iOS.

Properties

hashCode int
The hash code for this object.
no setterinherited
isMapboxStackConnected Future<bool>
Returns whether the Mapbox network stack is connected.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setMapboxStackConnected(bool isConnected) Future<void>
Enables or disables the Mapbox network stack.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

shared OfflineSwitch
final