FitnessMachineProcedureSetTargetSpeed
@available(swift 3.1)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
public struct FitnessMachineProcedureSetTargetSpeed : FitnessMachineControlProcedure
Fitness Machine Procecure for Set the Target Speed
-
Control Code
Declaration
Swift
private(set) public var controlCode: FitnessMachineControlCode { get }
-
Target Speed
Declaration
Swift
private(set) public var target: FitnessMachineSpeedType { get }
-
Create Procecure for Set the Target Speed
Declaration
Swift
public init(target: FitnessMachineSpeedType)
Parameters
target
Target Speed
-
Encodes Control Procedure into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data Result