How to Enable or Disable Auto Time Zone on the Terminal
The system provides the AIDL interface to Enable/Disable autotimezone in settings menu. When connect the service, the package name is com.wizarpos.wizarviewagentassistant, and the class name is com.wizarpos.wizarviewagentassistant.SystemExtApiService. When the application uses the interface, it must import wizarviewagentassistant.
API Overview
enableAutoTimezone
void enableAutoTimezone(boolean enable);
Enable/Disable auto timezone status.
Parameters | |
---|---|
enable | boolean: true/false. |
isEnableAutoTimezone
boolean isEnableAutoTimezone();
Get status for enable/disable auto timezone.
Returns | |
---|---|
boolean | whether the auto timezone is enabled, true is enable, false is disable. |
enableAutoTimezoneGUI
void enableAutoTimezoneGUI(boolean enable);
Enable/Disable auto timezone GUI display.
Parameters | |
---|---|
enable | boolean: true/false. |
isEnableAutoTimezoneGUI
boolean isEnableAutoTimezoneGUI();
Get status for enable/disable auto timezone GUI.
Returns | |
---|---|
boolean | whether the auto timezone GUI display is enabled, true is enable, false is disable. |