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