SDLSeatOccupancy Class Reference

Section Contents

Overview

@added in SmartDeviceLink 7.1.0

-initWithSeatsOccupied:seatsBelted:

Objective-C

- (nonnull instancetype)
    initWithSeatsOccupied:(nullable NSArray<SDLSeatStatus *> *)seatsOccupied
              seatsBelted:(nullable NSArray<SDLSeatStatus *> *)seatsBelted;

Swift

init(seatsOccupied: [SDLSeatStatus]?, seatsBelted: [SDLSeatStatus]?)

Parameters

seatsOccupied

- seatsOccupied

seatsBelted

- seatsBelted

Return Value

A SDLSeatOccupancy object

seatsOccupied

Seat status array containing location and whether the seats are occupied. {“array_min_size”: 0, “array_max_size”: 100}

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLSeatStatus *> *seatsOccupied;

Swift

var seatsOccupied: [SDLSeatStatus]? { get set }

seatsBelted

Seat status array containing location and whether the seats are belted. {“array_min_size”: 0, “array_max_size”: 100}

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLSeatStatus *> *seatsBelted;

Swift

var seatsBelted: [SDLSeatStatus]? { get set }