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
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaSE Documentation
HMIPermissions

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)

Constructor 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)

Constructor 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 com.smartdevicelink.proxy.rpc.HMIPermissions setAllowed(java.util.List<com.smartdevicelink.proxy.rpc.enums.HMILevel> allowed)

Method 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 com.smartdevicelink.proxy.rpc.HMIPermissions setUserDisallowed(java.util.List<com.smartdevicelink.proxy.rpc.enums.HMILevel> userDisallowed)

Method Parameters

userDisallowed
HMI level that is prohibited for this given RPC

Inherited Methods

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