How to Enable or Disable Auto Time Zone on the Terminal: Difference between revisions
m (Simon moved page How to enable/disable autotimezone in terminal to How to Enable or Disable Auto Time Zone on the Terminal: Normalize the title) |
No edit summary |
||
Line 5: | Line 5: | ||
== API Functions == | == API Functions == | ||
=== <big>Enable/Disable Auto Timezone</big> === | === <big>Enable/Disable Auto Timezone</big> === | ||
<syntaxhighlight lang="java">void enableAutoTimezone(boolean enable);</syntaxhighlight> | |||
* Toggle the auto timezone feature on or off based on the ''''enable'''' boolean value. | * Toggle the auto timezone feature on or off based on the ''''enable'''' boolean value. | ||
{|class="wizarpostable" | {|class="wizarpostable" | ||
Line 18: | Line 18: | ||
|} | |} | ||
=== <big>Check Auto Timezone Status</big> === | === <big>Check Auto Timezone Status</big> === | ||
<syntaxhighlight lang="java">boolean isEnableAutoTimezone();</syntaxhighlight> | |||
* Returns the current status (enabled/disabled) of the auto timezone feature. | * Returns the current status (enabled/disabled) of the auto timezone feature. | ||
{|class="wizarpostable" | {|class="wizarpostable" | ||
Line 27: | Line 27: | ||
|} | |} | ||
=== <big>Enable/Disable Auto Timezone in GUI</big> === | === <big>Enable/Disable Auto Timezone in GUI</big> === | ||
<syntaxhighlight lang="java">void enableAutoTimezoneGUI(boolean enable);</syntaxhighlight> | |||
* Enable or disable the display of the auto timezone feature in the GUI based on the ''''enable'''' boolean value. | * Enable or disable the display of the auto timezone feature in the GUI based on the ''''enable'''' boolean value. | ||
{|class="wizarpostable" | {|class="wizarpostable" | ||
Line 40: | Line 40: | ||
|} | |} | ||
=== <big>Check Auto Timezone GUI Status</big> === | === <big>Check Auto Timezone GUI Status</big> === | ||
<syntaxhighlight lang="java">boolean isEnableAutoTimezoneGUI();</syntaxhighlight> | |||
* Retrieves the status (enabled/disabled) of the auto timezone feature in the GUI. | * Retrieves the status (enabled/disabled) of the auto timezone feature in the GUI. | ||
{|class="wizarpostable" | {|class="wizarpostable" |
Revision as of 15:26, 4 January 2024
Interface and Class Details
- Package Name: 'com.wizarpos.wizarviewagentassistant'
- Class Name: 'com.wizarpos.wizarviewagentassistant.SystemExtApiService'
- Ensure to import 'wizarviewagentassistant' when using this interface.
API Functions
Enable/Disable Auto Timezone
void enableAutoTimezone(boolean enable);
- Toggle the auto timezone feature on or off based on the 'enable' boolean value.
Parameters | |
---|---|
enable | boolean: true/false. |
Check Auto Timezone Status
boolean isEnableAutoTimezone();
- Returns the current status (enabled/disabled) of the auto timezone feature.
Returns | |
---|---|
boolean | whether the auto timezone is enabled, true is enable, false is disable. |
Enable/Disable Auto Timezone in GUI
void enableAutoTimezoneGUI(boolean enable);
- Enable or disable the display of the auto timezone feature in the GUI based on the 'enable' boolean value.
Parameters | |
---|---|
enable | boolean: true/false. |
Check Auto Timezone GUI Status
boolean isEnableAutoTimezoneGUI();
- Retrieves the status (enabled/disabled) of the auto timezone feature in the GUI.
Returns | |
---|---|
boolean | whether the auto timezone GUI display is enabled, true is enable, false is disable. |
Downloading Resources
Download the necessary AIDL file and the demo for implementation guidance.