BloodPressureStatus

public enum BloodPressureStatus : UInt8
extension BloodPressureStatus: FitFieldCodeable

FIT Blood Pressure Status

  • No Error

    Declaration

    Swift

    case noError = 0
  • Incomplete Data

    Declaration

    Swift

    case incompleteData = 1
  • No Measurement

    Declaration

    Swift

    case noMeasurement = 2
  • Data Out of Range

    Declaration

    Swift

    case outOfRange = 3
  • Irregular Heart Rate

    Declaration

    Swift

    case irregularHeartrate = 4
  • Invalid

    Declaration

    Swift

    case invalid = 255

FitFieldCodeable

  • Encode Into Data

    Declaration

    Swift

    public func encode(base: BaseTypeData) -> Data?

    Parameters

    base

    BaseTypeData

  • Decode FIT Field

    Declaration

    Swift

    public static func decode<T>(type: T.Type, data: Data, base: BaseTypeData, arch: Endian) -> T?

    Parameters

    type

    Type of Field

    data

    Data to Decode

    base

    BaseTypeData

    arch

    Endian

    Return Value

    Decoded Value