FitnessMachineProcedureStopPause
@available(swift 3.1)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
public struct FitnessMachineProcedureStopPause : FitnessMachineControlProcedure
Fitness Machine Procecure for Stop/Pause
-
Control Code
Declaration
Swift
private(set) public var controlCode: FitnessMachineControlCode { get }
-
Command
Declaration
Swift
private(set) public var target: FitnessMachineStopPauseType { get }
-
Create Procecure for Stop/Pause
Declaration
Swift
public init(target: FitnessMachineStopPauseType)
Parameters
target
Stop - Pause
-
Encodes Control Procedure into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data Result