How to Set Display Sleep Mode on the Terminal: Difference between revisions

From wizarPOS
No edit summary
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/settings-menu/set-display-sleep}}")
Tag: Replaced
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Interface and Class Information ==
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/settings-menu/set-display-sleep}}
* Package Name: ''''com.wizarpos.wizarviewagentassistant''''
* Class Name: ''''com.wizarpos.wizarviewagentassistant.SystemExtApiService''''
* Import the ''''wizarviewagentassistant'''' package when using this interface.
== API Function ==
=== <big>Set Screen Off Timeout</big> ===
  <syntaxhighlight lang="java">boolean setScreenOffTimeout(int milliseconds);</syntaxhighlight>
* Configure the display sleep time by specifying the timeout duration in milliseconds.
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Parameters
|-
| milliseconds|| '''int:''' milliseconds the time you want to set, can be one of following:
*        15000 - 15s
*        30000 - 30s
*        60000 - 1 minute
*        120000 - 2 minutes
*        300000 - 5 minutes
*        600000 - 10 minutes
*        1800000 - 30 minutes
*        2147483647(Integer.MAX_VALUE) - never.
|-
!  scope="row" colspan="2" | Returns
|-
|  boolean || whether the new milliseconds has been set.
|}
== Resource Download ==
* Download the necessary [http://ftp.wizarpos.com/advanceSDK/ISystemExtApi.aidl AIDL file] for implementation.

Latest revision as of 08:57, 7 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/settings-menu/set-display-sleep

We're making a move! Our site's content is migrating to a new URL, to provide you with an enhanced browsing experience. Please update your bookmarks accordingly. Thank you for your continuous support!