|
|
Line 1: |
Line 1: |
| == Interface and Class Details ==
| | {{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/settings-menu/enable-disable-auto-time-zone}} |
| * Package Name: ''''com.wizarpos.wizarviewagentassistant''''
| |
| * Class Name: ''''com.wizarpos.wizarviewagentassistant.SystemExtApiService''''
| |
| * Ensure to import ''''wizarviewagentassistant'''' when using this interface.
| |
| == API Functions ==
| |
| === <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.
| |
| {|class="wizarpostable"
| |
| |-
| |
| ! scope="row" colspan="2" | Parameters
| |
| |-
| |
| | enable|| '''boolean:''' true/false.
| |
| |}
| |
| {|
| |
| |-
| |
| |
| |
| |}
| |
| === <big>Check Auto Timezone Status</big> ===
| |
| <syntaxhighlight lang="java">boolean isEnableAutoTimezone();</syntaxhighlight>
| |
| * Returns the current status (enabled/disabled) of the auto timezone feature.
| |
| {|class="wizarpostable"
| |
| |-
| |
| ! scope="row" colspan="2" | Returns
| |
| |-
| |
| | boolean || whether the auto timezone is enabled, true is enable, false is disable.
| |
| |}
| |
| === <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.
| |
| {|class="wizarpostable"
| |
| |-
| |
| ! scope="row" colspan="2" | Parameters
| |
| |-
| |
| | enable|| '''boolean:''' true/false.
| |
| |}
| |
| {|
| |
| |-
| |
| |
| |
| |}
| |
| === <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.
| |
| {|class="wizarpostable"
| |
| |-
| |
| ! scope="row" colspan="2" | Returns
| |
| |-
| |
| | boolean || whether the auto timezone GUI display is enabled, true is enable, false is disable.
| |
| |}
| |
| == Downloading Resources ==
| |
| Download the necessary [http://ftp.wizarpos.com/advanceSDK/ISystemExtApi.aidl AIDL file] and the [http://ftp.wizarpos.com/advanceSDK/apitest2_forautotimezone.zip demo] for implementation guidance.
| |