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

Class HMIPermissions

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Defining sets of HMI levels, which are permitted or prohibited for a given RPC.

Parameter List

Name Type Description SmartDeviceLink Ver. Available
allowed HMILevel A set of all HMI levels that are permitted for this given RPC.
  • Min: 0
  • Max: 100
SmartDeviceLink 2.0
userDisallowed HMILevel A set of all HMI levels that are prohibited for this given RPC.
  • Min: 0
  • Max: 100
SmartDeviceLink 2.0

Fields

KEY_ALLOWED

public static final java.lang.String KEY_ALLOWED
Constant Value
"allowed"

KEY_USER_DISALLOWED

public static final java.lang.String KEY_USER_DISALLOWED
Constant Value
"userDisallowed"

Inherited Fields

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

Constructors

HMIPermissions()

Constructs a newly allocated HMIPermissions object

public HMIPermissions()

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

Constructs a newly allocated HMIPermissions object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

HMIPermissions( java.util.List<com.smartdevicelink.proxy.rpc.enums.HMILevel> allowed, java.util.List<com.smartdevicelink.proxy.rpc.enums.HMILevel> userDisallowed )

Constructs a newly allocated HMIPermissions object

public HMIPermissions(java.util.List<com.smartdevicelink.proxy.rpc.enums.HMILevel> allowed,java.util.List<com.smartdevicelink.proxy.rpc.enums.HMILevel> userDisallowed)

Parameters

allowed
HMI level that is permitted for this given RPC
userDisallowed
HMI level that is prohibited for this given RPC

Methods

getAllowed()

get a set of all HMI levels that are permitted for this given RPC.

public java.util.List getAllowed()

setAllowed( java.util.List<com.smartdevicelink.proxy.rpc.enums.HMILevel> allowed )

set HMI level that is permitted for this given RPC.

public void setAllowed(java.util.List<com.smartdevicelink.proxy.rpc.enums.HMILevel> allowed)

Parameters

allowed
HMI level that is permitted for this given RPC

getUserDisallowed()

get a set of all HMI levels that are prohibited for this given RPC

public java.util.List getUserDisallowed()

setUserDisallowed( java.util.List<com.smartdevicelink.proxy.rpc.enums.HMILevel> userDisallowed )

set a set of all HMI levels that are prohibited for this given RPC

public void setUserDisallowed(java.util.List<com.smartdevicelink.proxy.rpc.enums.HMILevel> userDisallowed)

Parameters

userDisallowed
HMI level that is prohibited for this given RPC

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