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

Class OnPermissionsChange

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct
         com.smartdevicelink.proxy.RPCMessage
             com.smartdevicelink.proxy.RPCNotification

Package
com.smartdevicelink.proxy.rpc

Overview

Provides update to app of which sets of functions are available

HMI Status Requirements:
    HMILevel:
    • Any
    AudioStreamingState:
    • TBD
    SystemContext:
    • TBD

Parameter List:

Name Type Description Req Notes SmartDeviceLink Ver Available
permissionItem PermissionItem[] Change in permissions for a given set of RPCs Y Minsize=1 Maxsize=100 SmartDeviceLink 2.0

Fields

KEY_PERMISSION_ITEM

public static final java.lang.String KEY_PERMISSION_ITEM
Constant Value
"permissionItem"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCMessage KEY_REQUEST, KEY_RESPONSE, KEY_NOTIFICATION, KEY_FUNCTION_NAME, KEY_PARAMETERS, KEY_CORRELATION_ID, messageType, parameters, function
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

OnPermissionsChange()

Constructs a newly allocated OnCommand object

public OnPermissionsChange()

OnPermissionsChange( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a newly allocated OnPermissionsChange object indicated by the Hashtable parameter

public OnPermissionsChange(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Parameters

hash
The Hashtable to use

OnPermissionsChange( java.util.List<com.smartdevicelink.proxy.rpc.PermissionItem> permissionItem )

Constructs a newly allocated OnCommand object

public OnPermissionsChange(java.util.List<com.smartdevicelink.proxy.rpc.PermissionItem> permissionItem)

Parameters

permissionItem
an List of PermissionItem describing change in permissions for a given set of RPCs

Methods

getPermissionItem()

Returns List object describing change in permissions for a given set of RPCs

public java.util.List getPermissionItem()

setPermissionItem( java.util.List<com.smartdevicelink.proxy.rpc.PermissionItem> permissionItem )

Sets PermissionItems describing change in permissions for a given set of RPCs

public void setPermissionItem(java.util.List<com.smartdevicelink.proxy.rpc.PermissionItem> permissionItem)

Parameters

permissionItem
an List of PermissionItem describing change in permissions for a given set of RPCs

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCMessage getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, deserializeJSONObject, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section