FitnessMachineControlResponseTypeSpinDown
@available(swift 3.1)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
public struct FitnessMachineControlResponseTypeSpinDown : FitnessMachineControlResponseType
Fitness Machine Response Params for Spin Down
-
Target Speed Low
Declaration
Swift
private(set) public var lowSpeed: FitnessMachineSpeedType { get }
-
Target High Low
Declaration
Swift
private(set) public var highSpeed: FitnessMachineSpeedType { get }
-
Creates Fitness Machine Response Params for Spin Down
Declaration
Swift
public init(lowSpeed: FitnessMachineSpeedType, highSpeed: FitnessMachineSpeedType)
Parameters
lowSpeed
Target Speed Low
highSpeed
Target Speed High
-
Encodes Response into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data Result