FitnessMachineProcedureSetTargetedTimeInTwoHrZone
@available(swift 3.1)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
public struct FitnessMachineProcedureSetTargetedTimeInTwoHrZone : FitnessMachineControlProcedure
Fitness Machine Procecure for Set the Targeted Time in Two Heart Rate Zone
-
Control Code
Declaration
Swift
private(set) public var controlCode: FitnessMachineControlCode { get }
-
Target Time in Two Heart Rate Zone
Declaration
Swift
private(set) public var target: FitnessMachineTargetTimeInTwoHrZone { get }
-
Create Procecure for Set the Targeted Time in Two Heart Rate Zone
Declaration
Swift
public init(target: FitnessMachineTargetTimeInTwoHrZone)
Parameters
target
Targeted Time in Two Heart Rate Zone
-
Encodes Control Procedure into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data Result