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 }