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

Class PermissionItem

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Change in permissions for a given set of RPCs

Parameter List

Param Name Type Description Req. Notes Version Available
rpcName String Name of the individual RPC in the policy table. maxlength:100 SmartDeviceLink 2.0
hmiPermissions HMIPermissions Sets of parameters, which are permitted or prohibited for the given RPC. SmartDeviceLink 2.0
parameterPermissions ParameterPermissions Sets of parameters, which are permitted or prohibited for the given RPC. SmartDeviceLink 2.0

Fields

KEY_RPC_NAME

public static final java.lang.String KEY_RPC_NAME
Constant Value
"rpcName"

KEY_HMI_PERMISSIONS

public static final java.lang.String KEY_HMI_PERMISSIONS
Constant Value
"hmiPermissions"

KEY_PARAMETER_PERMISSIONS

public static final java.lang.String KEY_PARAMETER_PERMISSIONS
Constant Value
"parameterPermissions"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

PermissionItem( String rpcName, HMIPermissions hmiPermissions, ParameterPermissions parameterPermissions )

Constructs a new PermissionItem object

public PermissionItem(String rpcName,HMIPermissions hmiPermissions,ParameterPermissions parameterPermissions)

Parameters

rpcName
hmiPermissions
parameterPermissions

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

Constructs a new PermissionItem object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

PermissionItem()

Constructs a new PermissionItem object

public PermissionItem()

Methods

getRpcName()

public java.lang.String getRpcName()

setRpcName( String rpcName )

public void setRpcName(String rpcName)

Parameters

rpcName

getHMIPermissions()

public com.smartdevicelink.proxy.rpc.HMIPermissions getHMIPermissions()

setHMIPermissions( HMIPermissions hmiPermissions )

public void setHMIPermissions(HMIPermissions hmiPermissions)

Parameters

hmiPermissions

getParameterPermissions()

public com.smartdevicelink.proxy.rpc.ParameterPermissions getParameterPermissions()

setParameterPermissions( ParameterPermissions parameterPermissions )

public void setParameterPermissions(ParameterPermissions parameterPermissions)

Parameters

parameterPermissions

Inherited Methods

From Class Methods
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