Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLClimateData

SDLClimateData Class Reference

Section Contents

Overview

@added in SmartDeviceLink 7.1.0

-initWithExternalTemperature:cabinTemperature:atmosphericPressure:

Objective-C

- (nonnull instancetype)
    initWithExternalTemperature:(nullable SDLTemperature *)externalTemperature
               cabinTemperature:(nullable SDLTemperature *)cabinTemperature
            atmosphericPressure:
                (nullable NSNumber<SDLFloat> *)atmosphericPressure;

Swift

init(externalTemperature: SDLTemperature?, cabinTemperature: SDLTemperature?, atmosphericPressure: (NSNumber & SDLFloat)?)

Parameters

externalTemperature

- externalTemperature

cabinTemperature

- cabinTemperature

atmosphericPressure

- atmosphericPressure

Return Value

A SDLClimateData object

externalTemperature

The external temperature in degrees celsius

Objective-C

@property (nonatomic, strong, nullable) SDLTemperature *externalTemperature;

Swift

var externalTemperature: SDLTemperature? { get set }

cabinTemperature

Internal ambient cabin temperature in degrees celsius

Objective-C

@property (nonatomic, strong, nullable) SDLTemperature *cabinTemperature;

Swift

var cabinTemperature: SDLTemperature? { get set }

atmosphericPressure

Current atmospheric pressure in mBar {“num_min_value”: 0.0, “num_max_value”: 2000.0}

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *atmosphericPressure;

Swift

var atmosphericPressure: (NSNumber & SDLFloat)? { get set }
View on GitHub.com
Previous Section Next Section