|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
| == Interface and Class Information ==
| | {{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/settings-menu/enable-disable-automatic-time}} |
| * Package Name: ''''com.wizarpos.wizarviewagentassistant''''
| |
| * 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"
| |
| |-
| |
| ! scope="row" colspan="2" | Parameters
| |
| |-
| |
| | enable|| '''boolean:''' true/false.
| |
| |}
| |
| {|
| |
| |-
| |
| |
| |
| |}
| |
| === <big>Check Automatic Time Status</big> ===
| |
| * ''''boolean isEnableAutoTime()'''';
| |
| * Returns the current status (enabled/disabled) of the automatic time feature.
| |
| {|class="wizarpostable"
| |
| |-
| |
| ! scope="row" colspan="2" | Returns
| |
| |-
| |
| | boolean || whether the auto time is enabled, true is enable, false is disable.
| |
| |}
| |
| === <big>Enable/Disable Automatic Time in GUI</big> ===
| |
| * ''''void enableAutoTimeGUI(boolean enable)'''';
| |
| * Enable or disable the display of the automatic time feature in the GUI based on the ''''enable'''' boolean value.
| |
| {|class="wizarpostable"
| |
| |-
| |
| ! scope="row" colspan="2" | Parameters
| |
| |-
| |
| | enable|| '''boolean:''' true/false.
| |
| |}
| |
| {|
| |
| |-
| |
| |
| |
| |}
| |
| === <big>Check Automatic Time GUI Status</big> ===
| |
| * ''''boolean isEnableAutoTimeGUI()'''';
| |
| * Retrieves the status (enabled/disabled) of the automatic time feature in the GUI.
| |
| {|class="wizarpostable"
| |
| |-
| |
| ! scope="row" colspan="2" | Returns
| |
| |-
| |
| | 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.
| |