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
SDLSeatOccupancy

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 }
View on GitHub.com
Previous Section Next Section