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