FitnessMachineStatusGeneric
public struct FitnessMachineStatusGeneric : FitnessMachineStatus
Generic Fitness Machine Status Code
Status Codes without extra Values
-
Status Code
Declaration
Swift
private(set) public var statusCode: FitnessMachineStatusCode { get }
-
Create Fitness Machine Generic Status
Declaration
Swift
public init(code: FitnessMachineStatusCode)
Parameters
code
FitnessMachineStatusCode
-
Encodes Status into Data
Declaration
Swift
public func encode() -> Result<Data, BluetoothEncodeError>
Return Value
Encoded Data Result