WearableDeviceInformation
public struct WearableDeviceInformation
The wearable device information provides details about the capabilities available in a particular wearable device.
-
Indicates the major version of the wearable sensors specification supported by this product.
Declaration
Swift
public var majorVersion: UInt8
-
Indicates the minor version of the wearable sensors specification supported by this product.
Declaration
Swift
public var minorVersion: UInt8
-
Indicates the product.
Declaration
Swift
public var productID: UInt16
-
Indicates the product variant.
Declaration
Swift
public var variant: UInt8
-
Indicates which sensors are available in this product.
Declaration
Swift
public var availableSensors: Set<SensorType>
-
Indicates which gestures are available in this product.
Declaration
Swift
public var availableGestures: Set<GestureType>
-
Indicates how often samples are transmitted from the product over the air. This period is indicated in milliseconds.
A special value of zero indicates that the samples are sent as soon as they are available.
Multiple samples can be sent within a single transmission period. Together with the maximum payload per transmission period, this field allows the client to determine if a particular sensor configuration can meet the desired data throughput.
Declaration
Swift
public var transmissionPeriod: UInt8
-
Indicates the maximum payload size of all combined active sensors that can be sent every transmission period.
Together with the transmission period, this field allows the client to determine if a particular sensor configuration can meet the desired data throughput.
Declaration
Swift
public var maximumPayloadPerTransmissionPeriod: UInt16
-
Indicates the maximum number of sensors that can be active simultaneously.
Declaration
Swift
public var maximumActiveSensors: UInt8
-
Provides status information about the wearable device.
Declaration
Swift
public var deviceStatus: DeviceStatus
-
Declaration
Swift
public var description: String { get }