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
SDLPermissionItem

SDLPermissionItem Class Reference

Section Contents

Overview

Permissions for a given set of RPCs

@since RPC 2.0

rpcName

Name of the individual RPC in the policy table.

Required

Objective-C

@property (nonatomic, strong) NSString *_Nonnull rpcName;

Swift

var rpcName: String { get set }

hmiPermissions

HMI Permissions for the individual RPC; i.e. which HMI levels may it be used in

Required

Objective-C

@property (nonatomic, strong) SDLHMIPermissions *_Nonnull hmiPermissions;

Swift

var hmiPermissions: SDLHMIPermissions { get set }

parameterPermissions

RPC parameters for the individual RPC

Required

Objective-C

@property (nonatomic, strong) SDLParameterPermissions *_Nonnull parameterPermissions;

Swift

var parameterPermissions: SDLParameterPermissions { get set }

requireEncryption

Describes whether or not the RPC needs encryption

Optional, Boolean, since SDL 6.0

Objective-C

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

Swift

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