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