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