Set User System Properties
System Interface
AIDL Interface: The system provides an AIDL interface for setting user system properties.
Service Connection:
Package Name: 'com.wizarpos.wizarviewagentassistant'
Class Name: 'com.wizarpos.wizarviewagentassistant.SystemExtApiService'
Version Requirement: Ensure 'wizarviewagentassistant' is version 2.10.54 or higher.
Permissions
Manifest Declaration: Applications must declare 'android.permission.CLOUDPOS_SET_PROP' in their Android manifest file.
API Usage
setUsrProp
Sets custom system properties.
Note: the system supports up to 10 groups of key-value pairs.
Parameters | |
---|---|
key | the property's key must adhere to specific guidelines: it should not exceed 16 characters in length and must begin with "persist.wp.usr.". For instance, "persist.wp.usr.setting1" is an example of a valid key. |
value | the property's value should be a string that does not exceed 32 characters in length. |
Returns | |
---|---|
boolean | a boolean representation of the result. true if success. false if failure. |
Resources
Last updated