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

SDLGetInteriorVehicleDataConsent Class Reference

Section Contents

Overview

This RPC allows you to get consent to control a certian 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 (readwrite, strong, nonatomic) 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 (readwrite, strong, nonatomic) NSArray<NSString *> *_Nonnull moduleIds;

Swift

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