|
|
(3 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| 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.
| | {{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/settings-menu/enable-disable-auto-time-zone}} |
| == API Overview ==
| |
| === <big>enableAutoTimezone</big>===
| |
| <syntaxhighlight lang="java">void enableAutoTimezone(boolean enable);</syntaxhighlight>
| |
| Enable/Disable auto timezone status.
| |
| | |
| {|class="wizarpostable" | |
| |-
| |
| ! scope="row" colspan="2" | Parameters
| |
| |-
| |
| | enable|| '''boolean:''' true/false.
| |
| |}
| |
| {|
| |
| |-
| |
| |
| |
| |}
| |
| | |
| === <big>isEnableAutoTimezone</big>===
| |
| <syntaxhighlight lang="java">boolean isEnableAutoTimezone();</syntaxhighlight>
| |
| Get status for enable/disable auto timezone.
| |
| | |
| {|class="wizarpostable"
| |
| |-
| |
| ! scope="row" colspan="2" | Returns
| |
| |-
| |
| | boolean || whether the auto timezone is enabled, true is enable, false is disable.
| |
| |}
| |
| | |
| === <big>enableAutoTimezoneGUI</big>===
| |
| <syntaxhighlight lang="java">void enableAutoTimezoneGUI(boolean enable);</syntaxhighlight>
| |
| Enable/Disable auto timezone GUI display.
| |
| | |
| {|class="wizarpostable"
| |
| |-
| |
| ! scope="row" colspan="2" | Parameters
| |
| |-
| |
| | enable|| '''boolean:''' true/false.
| |
| |}
| |
| {|
| |
| |-
| |
| |
| |
| |}
| |
| | |
| === <big>isEnableAutoTimezoneGUI</big>===
| |
| <syntaxhighlight lang="java">boolean isEnableAutoTimezoneGUI();</syntaxhighlight>
| |
| Get status for enable/disable auto timezone GUI.
| |
| | |
| {|class="wizarpostable"
| |
| |-
| |
| ! scope="row" colspan="2" | Returns
| |
| |-
| |
| | boolean || whether the auto timezone GUI display is enabled, true is enable, false is disable.
| |
| |}
| |
| | |
| | |
| == Download ==
| |
| Please download the [http://ftp.wizarpos.com/advanceSDK/ISystemExtApi.aidl AIDL file] and [http://ftp.wizarpos.com/advanceSDK/apitest2_forautotimezone.zip demo].
| |