Change Administrator's Login Password
Required Permissions
Applications must declare the specified permissions in their manifest to use this AIDL interface.
android.permission.ADMIN_PWD_MODIFY
modify admin password
android.permission.ADMIN_PWD
get admin password
android.permission.ADMIN_PWD_RESET
reset admin password
API Overview
Modify Admin Password
boolean forceModifyAdminPwd(String newPwd);
This function allows the modification of the admin password. Provide the new password ('newPwd') as arguments.
newPwd
new admin password.
boolean
a boolean representation of the result.
true if success. false if failure.
Check Admin Password
boolean isAdminPwd(String pwd);
Returns 'true' if the provided password ('pwd') matches the current admin password.
pwd
admin password.
boolean
a boolean representation of the result.
true if success. false if failure.
Check whether Admin Logged in
boolean isAdminLoggedIn();
Returns 'true' if the administrator logged in.
boolean
a boolean representation of the result.
true if logged in. false if not.
Resource Download
Refer to the cloudpos apidemo - demo.
Last updated