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