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
SDLRoofStatus

SDLRoofStatus Class Reference

Section Contents

Overview

Describes the status of a parameter of roof/convertible roof/sunroof/moonroof etc. If roof is open (AJAR), state will determine percentage of roof open.

@added in SmartDeviceLink 7.1.0

-initWithLocation:status:

Objective-C

- (nonnull instancetype)initWithLocation:(nonnull SDLGrid *)location
                                  status:(nonnull SDLDoorStatusType)status;

Swift

init(location: SDLGrid, status: SDLDoorStatusType)

Parameters

location

- location

status

- status

Return Value

A SDLRoofStatus object

-initWithLocation:status:state:

Objective-C

- (nonnull instancetype)initWithLocation:(nonnull SDLGrid *)location
                                  status:(nonnull SDLDoorStatusType)status
                                   state:(nullable SDLWindowState *)state;

Swift

init(location: SDLGrid, status: SDLDoorStatusType, state: SDLWindowState?)

Parameters

location

- location

status

- status

state

- state

Return Value

A SDLRoofStatus object

location

The location of the roof on the vehicle grid

Objective-C

@property (nonatomic, strong) SDLGrid *_Nonnull location;

Swift

var location: SDLGrid { get set }

status

The status of the roof (e.g. if it is detachable)

Objective-C

@property (nonatomic, strong) SDLDoorStatusType _Nonnull status;

Swift

var status: SDLDoorStatusType { get set }

state

The state of the roof if it has a window

Objective-C

@property (nonatomic, strong, nullable) SDLWindowState *state;

Swift

var state: SDLWindowState? { get set }
View on GitHub.com
Previous Section Next Section