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
SDLGetInteriorVehicleDataConsent

SDLGetInteriorVehicleDataConsent Class Reference

Section Contents

Overview

This RPC allows you to get consent to control a certain module

@since RPC 6.0

-initWithModuleType:moduleIds:

Convenience init to get consent to control a module

Objective-C

- (nonnull instancetype)initWithModuleType:(nonnull SDLModuleType)moduleType
                                 moduleIds:
                                     (nonnull NSArray<NSString *> *)moduleIds;

Swift

init(moduleType: SDLModuleType, moduleIds: [String])

Parameters

moduleType

The module type that the app requests to control

moduleIds

Ids of a module of same type, published by System Capability

Return Value

An SDLGetInteriorVehicleDataConsent object

moduleType

The module type that the app requests to control.

Required

Objective-C

@property (nonatomic, strong) SDLModuleType _Nonnull moduleType;

Swift

var moduleType: SDLModuleType { get set }

moduleIds

Ids of a module of same type, published by System Capability.

Required

Objective-C

@property (nonatomic, strong) NSArray<NSString *> *_Nonnull moduleIds;

Swift

var moduleIds: [String] { get set }
View on GitHub.com
Previous Section Next Section