FitnessMachineStatusTargetSpeed
@available(swift 3.1)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
public struct FitnessMachineStatusTargetSpeed : FitnessMachineStatus
Status Value for Fitness Machine Target Speed Changed
-
Status Code
Declaration
Swift
private(set) public var statusCode: FitnessMachineStatusCode { get }
-
New Target Speed Value
Declaration
Swift
private(set) public var speed: FitnessMachineSpeedType { get }
-
Create Fitness Machine Status for Target Speed Changed
Declaration
Swift
public init(speed: FitnessMachineSpeedType)
Parameters
speed
FitnessMachineSpeedType
-
Encodes Status into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data Result