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
SDLSeatLocationCapability

SDLSeatLocationCapability Class Reference

Section Contents

Overview

Contains information about the locations of each seat.

-initWithSeats:cols:rows:levels:

Constructs a newly allocated SDLSeatLocationCapability object with all parameters

Objective-C

- (nonnull instancetype)initWithSeats:
                            (nonnull NSArray<SDLSeatLocation *> *)seats
                                 cols:(nonnull NSNumber<SDLInt> *)cols
                                 rows:(nonnull NSNumber<SDLInt> *)rows
                               levels:(nonnull NSNumber<SDLInt> *)levels;

Swift

init(seats: [SDLSeatLocation], cols: NSNumber & SDLInt, rows: NSNumber & SDLInt, levels: NSNumber & SDLInt)

Parameters

seats

Describes the location of a seat

cols

Number of columns

rows

Number of rows

levels

Number of levels

Return Value

An SDLSeatLocationCapability object

cols

Optional, Integer, 1 - 100

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLInt> *cols;

Swift

var cols: (NSNumber & SDLInt)? { get set }

rows

Optional, Integer, 1 - 100

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLInt> *rows;

Swift

var rows: (NSNumber & SDLInt)? { get set }

levels

Optional, Integer, 1 - 100

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLInt> *levels;

Swift

var levels: (NSNumber & SDLInt)? { get set }

seats

Contains a list of SeatLocation in the vehicle, the first element is the driver’s seat Optional

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLSeatLocation *> *seats;

Swift

var seats: [SDLSeatLocation]? { get set }
View on GitHub.com
Previous Section Next Section