How to Enable or Disable Automatic Time Setting on the Terminal: Difference between revisions
(Created page with "The system provides the AIDL interface to Enable/Disable autotime in settings menu. When connect the service, the package name is '''com.wizarpos.wizarviewagentassistant''', a...") |
No edit summary |
||
Line 1: | Line 1: | ||
== Interface and Class Information == | |||
== API | * Package Name: ''''com.wizarpos.wizarviewagentassistant'''' | ||
=== <big> | * Class Name: ''''com.wizarpos.wizarviewagentassistant.SystemExtApiService'''' | ||
* Ensure the ''''wizarviewagentassistant'''' package is imported when using this interface. | |||
== API Functions == | |||
=== <big>Enable/Disable Automatic Time</big> === | |||
* ''''void enableAutoTime(boolean enable)''''; | |||
* Toggles the automatic time feature on or off based on the ''''enable'''' boolean value. | |||
{|class="wizarpostable" | {|class="wizarpostable" | ||
|- | |- | ||
Line 15: | Line 17: | ||
| | | | ||
|} | |} | ||
=== <big>Check Automatic Time Status</big> === | |||
=== <big> | * ''''boolean isEnableAutoTime()''''; | ||
* Returns the current status (enabled/disabled) of the automatic time feature. | |||
{|class="wizarpostable" | {|class="wizarpostable" | ||
|- | |- | ||
Line 26: | Line 26: | ||
| boolean || whether the auto time is enabled, true is enable, false is disable. | | boolean || whether the auto time is enabled, true is enable, false is disable. | ||
|} | |} | ||
=== <big>Enable/Disable Automatic Time in GUI</big> === | |||
=== <big> | * ''''void enableAutoTimeGUI(boolean enable)''''; | ||
* Enable or disable the display of the automatic time feature in the GUI based on the ''''enable'''' boolean value. | |||
Enable | |||
{|class="wizarpostable" | {|class="wizarpostable" | ||
|- | |- | ||
Line 41: | Line 39: | ||
| | | | ||
|} | |} | ||
=== <big>Check Automatic Time GUI Status</big> === | |||
=== <big> | * ''''boolean isEnableAutoTimeGUI()''''; | ||
* Retrieves the status (enabled/disabled) of the automatic time feature in the GUI. | |||
{|class="wizarpostable" | {|class="wizarpostable" | ||
|- | |- | ||
Line 52: | Line 48: | ||
| boolean || whether the auto time GUI display is enabled, true is enable, false is disable. | | boolean || whether the auto time GUI display is enabled, true is enable, false is disable. | ||
|} | |} | ||
== Resource Downloads == | |||
* Download the necessary [http://ftp.wizarpos.com/advanceSDK/ISystemExtApi.aidl AIDL file] and the [http://ftp.wizarpos.com/advanceSDK/apitest.zip demo] for guidance on implementation. | |||
== | |||
Revision as of 19:14, 2 January 2024
Interface and Class Information
- Package Name: 'com.wizarpos.wizarviewagentassistant'
- Class Name: 'com.wizarpos.wizarviewagentassistant.SystemExtApiService'
- Ensure the 'wizarviewagentassistant' package is imported when using this interface.
API Functions
Enable/Disable Automatic Time
- 'void enableAutoTime(boolean enable)';
- Toggles the automatic time feature on or off based on the 'enable' boolean value.
Parameters | |
---|---|
enable | boolean: true/false. |
Check Automatic Time Status
- 'boolean isEnableAutoTime()';
- Returns the current status (enabled/disabled) of the automatic time feature.
Returns | |
---|---|
boolean | whether the auto time is enabled, true is enable, false is disable. |
Enable/Disable Automatic Time in GUI
- 'void enableAutoTimeGUI(boolean enable)';
- Enable or disable the display of the automatic time feature in the GUI based on the 'enable' boolean value.
Parameters | |
---|---|
enable | boolean: true/false. |
Check Automatic Time GUI Status
- 'boolean isEnableAutoTimeGUI()';
- Retrieves the status (enabled/disabled) of the automatic time feature in the GUI.
Returns | |
---|---|
boolean | whether the auto time GUI display is enabled, true is enable, false is disable. |