DeviceStatus

public struct DeviceStatus : OptionSet, CustomStringConvertible

Provides status information about a wearable device.

  • Declaration

    Swift

    public var rawValue: UInt16
  • Indicates the suspension reason. This value is only valid if contains(.wearableSensorServiceSuspended) is true.

    Declaration

    Swift

    public var suspensionReason: SuspensionReason
  • Declaration

    Swift

    public init(rawValue: UInt16)
  • When set, indicates that pairing mode is currently enabled on the device.

    Declaration

    Swift

    public static let pairingEnabled: DeviceStatus
  • When set, indicates that the device requires secure BLE pairing to be performed prior to accessing other encrypted characteristics.

    Declaration

    Swift

    public static let secureBLEPairingRequired: DeviceStatus
  • When set, indicates that the device has been previously paired to the client reading this characteristic.

    Declaration

    Swift

    public static let alreadyPairedToClient: DeviceStatus
  • When set, indicates that the wearable sensors service is temporarily suspended to allow other Bose services to send their data.

    Declaration

    Swift

    public static let wearableSensorsServiceSuspended: DeviceStatus
  • Declaration

    Swift

    public var description: String { get }