TemperatureFormat

@objc(PESDKTemperatureFormat)
public enum TemperatureFormat : Int

A temperature format that should be used for displaying temperature measurements to the user.

  • Temperature values will always be formatted to use “°F” as unit.

    Declaration

    Swift

    case fahrenheit
  • Temperature values will always be formatted to use “°C” as unit.

    Declaration

    Swift

    case celsius
  • Temperature values will always be formatted to use “°K” as unit.

    Declaration

    Swift

    case kelvin
  • Temperature values will be formatted according to Locale.current.

    Declaration

    Swift

    case locale