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