Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLTemperature Class Reference

Section Contents

Overview

Struct using in Remote Control representing a temperature.

-initWithUnit:value:

Undocumented

Objective-C

- (instancetype)initWithUnit:(SDLTemperatureUnit)unit value:(float)value;

Swift

init(unit: SDLTemperatureUnit, value: Float)

unit

Temperature Unit

Required, float

Objective-C

@property (readwrite, strong, nonatomic) SDLTemperatureUnit _Nonnull unit;

Swift

var unit: SDLTemperatureUnit { get set }

value

Temperature Value in TemperatureUnit specified unit. Range depends on OEM and is not checked by SDL.

Required, float

Objective-C

@property (readwrite, strong, nonatomic) NSNumber<SDLFloat> *_Nonnull value;

Swift

var value: NSNumber & SDLFloat { get set }
View on GitHub.com
Previous Section Next Section