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