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

Undocumented

Objective-C

@property (strong, nonatomic) SDLGrid *location

Swift

var location: SDLGrid { get set }

status

Undocumented

Objective-C

@property (strong, nonatomic) SDLDoorStatusType status

Swift

var status: SDLDoorStatusType { get set }

state

Undocumented

Objective-C

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

Swift

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