ConnectivityState
public enum ConnectivityState
States of the Connectivity framework.
-
not connected and not searching. idle. initial state before requestConnection is called.
Declaration
Swift
case notConnected
-
Bluetooth is off on iPhone. Alert user to turn bluetooth on as it is required for communication.
Declaration
Swift
case bluetoothOff
-
Vuzix device can’t be found. Will continue to scan for it. Device must be in range and connected to companion. Companion app must be running in background.
Declaration
Swift
case searchingForDevice
-
registration with companion is sucessful
Declaration
Swift
case connecting
-
Device is connected and ready for communication.
Declaration
Swift
case connected
-
Connectivity framwork is NOT supported. ie BladeOS needs version 2.11 or higher.
Declaration
Swift
case notSupported