Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLGetInteriorVehicleData Class Reference

Section Contents

Overview

Reads the current status value of specified remote control module (type). When subscribe is true, subscribes for specific remote control module data items. When subscribe is false, unsubscribes for specific remote control module data items. Once subscribed, the application will be notified by the onInteriorVehicleData RPC notification whenever new data is available for the module.

-initWithModuleType:

Undocumented

Objective-C

- (instancetype)initWithModuleType:(SDLModuleType)moduleType;

Swift

init(moduleType: SDLModuleType)

-initAndSubscribeToModuleType:

Undocumented

Objective-C

- (instancetype)initAndSubscribeToModuleType:(SDLModuleType)moduleType;

Swift

init(andSubscribeToModuleType moduleType: SDLModuleType)

-initAndUnsubscribeToModuleType:

Undocumented

Objective-C

- (instancetype)initAndUnsubscribeToModuleType:(SDLModuleType)moduleType;

Swift

init(andUnsubscribeToModuleType moduleType: SDLModuleType)

moduleType

The type of a RC module to retrieve module data from the vehicle.

Objective-C

@property (readwrite, strong, nonatomic) SDLModuleType _Nonnull moduleType;

Swift

var moduleType: SDLModuleType { get set }

subscribe

If subscribe is true, the head unit will register onInteriorVehicleData notifications for the requested moduelType. If subscribe is false, the head unit will unregister onInteriorVehicleData notifications for the requested moduelType.

optional, Boolean, default Value = false

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *subscribe;

Swift

var subscribe: (NSNumber & SDLBool)? { get set }
View on GitHub.com
Previous Section Next Section