OfflineSwitch

public class OfflineSwitch

Undocumented

  • Returns the OfflineSwitch shared instance.

    Declaration

    Swift

    public static var shared: OfflineSwitch
  • Connects or disconnects the Mapbox stack. If set to false, current and new HTTP requests will fail with HttpRequestError with type .connectionError.

    Declaration

    Swift

    public var isMapboxStackConnected: Bool { get set }