public class ResetGlobalProperties extends RPCRequest
The TIMEOUTPROMPT global property default value is the same as the HELPPROMPT global property default value
HMILevel needs to be FULL, LIMITED or BACKGROUND
Parameter List
| Param Name | Type | Description | Req. | Notes | Version Available |
|---|---|---|---|---|---|
| properties | GlobalProperty | An array of one or more GlobalProperty enumeration elements indicating which global properties to reset to their default value. | Y | Array must have at least one element.; minsize:1; maxsize:100 | SmartDeviceLink 1.0 |
Response
Indicates whether the Global Properties were successfully set to their default values.
Non-default Result Codes:
SUCCESS
INVALID_DATA
OUT_OF_MEMORY
TOO_MANY_PENDING_REQUESTS
APPLICATION_NOT_REGISTERED
GENERIC_ERROR
REJECTED
DISALLOWED
SetGlobalProperties| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_PROPERTIES |
onResponseListenerfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
ResetGlobalProperties()
Constructs a new ResetGlobalProperties object
|
ResetGlobalProperties(Hashtable<String,Object> hash)
Constructs a new ResetGlobalProperties object indicated by the Hashtable
parameter
|
ResetGlobalProperties(List<GlobalProperty> properties)
Constructs a new ResetGlobalProperties object
|
| Modifier and Type | Method and Description |
|---|---|
List<GlobalProperty> |
getProperties()
Gets an array of one or more GlobalProperty enumeration elements
indicating which global properties to reset to their default value
|
ResetGlobalProperties |
setProperties(List<GlobalProperty> properties)
Sets an array of one or more GlobalProperty enumeration elements
indicating which global properties to reset to their default value
|
getCorrelationID, getOnRPCResponseListener, setCorrelationID, setOnRPCResponseListenergetBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, format, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_PROPERTIES
public ResetGlobalProperties()
public ResetGlobalProperties(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic ResetGlobalProperties(@NonNull
List<GlobalProperty> properties)
properties - a Listpublic List<GlobalProperty> getProperties()
public ResetGlobalProperties setProperties(@NonNull List<GlobalProperty> properties)
properties - a List