Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
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 (readwrite, strong, nonatomic, nullable) NSNumber<SDLInt> *cols;

Swift

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

rows

Optional, Integer, 1 - 100

Objective-C

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

Swift

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

levels

Optional, Integer, 1 - 100

Objective-C

@property (readwrite, strong, nonatomic, 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 (readwrite, strong, nonatomic, nullable)
    NSArray<SDLSeatLocation *> *seats;

Swift

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