Struct representing a temperature.
Convenience init for a fahrenheit temperature value.
- (nonnull instancetype)initWithFahrenheitValue:(float)value;
convenience init(fahrenheitValue value: Float)
Temperature value in fahrenheit
A SDLTemperature object
Convenience init for a celsius temperature value.
- (nonnull instancetype)initWithCelsiusValue:(float)value;
convenience init(celsiusValue value: Float)
Temperature value in celsius
A SDLTemperature object
Convenience init for all parameters.
- (nonnull instancetype)initWithUnit:(nonnull SDLTemperatureUnit)unit
value:(float)value;
init(unit: SDLTemperatureUnit, value: Float)
Temperature unit
Temperature value in specified unit
A SDLTemperature object
Temperature unit
Required, float
@property (nonatomic, strong) SDLTemperatureUnit _Nonnull unit;
var unit: SDLTemperatureUnit { get set }
Temperature value in specified unit. Range depends on OEM and is not checked by SDL.
Required, float
@property (nonatomic, strong) NSNumber<SDLFloat> *_Nonnull value;
var value: NSNumber & SDLFloat { get set }