public class ParameterPermissions extends RPCStruct
Parameter List
| Name | Type | Description | SmartDeviceLink Ver. Available |
|---|---|---|---|
| allowed | String | A set of all parameters that are permitted for this given RPC.
|
SmartDeviceLink 2.0 |
| userDisallowed | String | A set of all parameters that are prohibited for this given RPC.
|
SmartDeviceLink 2.0 |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ALLOWED |
static String |
KEY_USER_DISALLOWED |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
ParameterPermissions()
Constructs a newly allocated ParameterPermissions object
|
ParameterPermissions(Hashtable<String,Object> hash)
Constructs a newly allocated ParameterPermissions object indicated by the Hashtable parameter
|
ParameterPermissions(List<String> allowed,
List<String> userDisallowed)
Constructs a newly allocated ParameterPermissions object
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllowed()
get a set of all parameters that are permitted for this given RPC.
|
List<String> |
getUserDisallowed()
get a set of all parameters that are prohibited for this given RPC.
|
ParameterPermissions |
setAllowed(List<String> allowed)
set a set of all parameters that are permitted for this given RPC.
|
ParameterPermissions |
setUserDisallowed(List<String> userDisallowed)
set a set of all parameters that are prohibited for this given RPC.
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_ALLOWED
public static final String KEY_USER_DISALLOWED
public ParameterPermissions()
public ParameterPermissions(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic ParameterPermissions(@NonNull
List<String> allowed,
@NonNull
List<String> userDisallowed)
allowed - parameter that is permitted for this given RPCuserDisallowed - parameter that is prohibited for this given RPCpublic List<String> getAllowed()
public ParameterPermissions setAllowed(@NonNull List<String> allowed)
allowed - parameter that is permitted for this given RPCpublic List<String> getUserDisallowed()
public ParameterPermissions setUserDisallowed(@NonNull List<String> userDisallowed)
userDisallowed - parameter that is prohibited for this given RPC