Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
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 (readwrite, strong, nonatomic) 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 (readwrite, strong, nonatomic)
    SDLHMIPermissions *_Nonnull hmiPermissions;

Swift

var hmiPermissions: SDLHMIPermissions { get set }

parameterPermissions

RPC parameters for the individual RPC

Required

Objective-C

@property (readwrite, strong, nonatomic)
    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 (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *requireEncryption;

Swift

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