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
Documentation
SDLOnPermissionsChange

SDLOnPermissionsChange Class Reference

Section Contents

Overview

Provides update to app of which sets of functions are available

@since SDL 2.0

permissionItem

Describes change in permissions for a given set of RPCs

Required, Array of SDLPermissionItem, Array size 0 - 500

Objective-C

@property (nonatomic, strong) NSArray<SDLPermissionItem *> *_Nonnull permissionItem;

Swift

var permissionItem: [SDLPermissionItem] { get set }

requireEncryption

Describes whether or not the app needs the encryption permission

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