How to Block the Status Bar Using AIDL Interface: Difference between revisions

From wizarPOS
(Created page with "The system provides the AIDL interface to block the status bar, when block, the status bar can not be slided down. When connect the service, the package name is com.wizarpos.w...")
 
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/block-status-bar-api}}")
Tag: Replaced
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The system provides the AIDL interface to block the status bar, when block, the status bar can not be slided down. 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 and add permissions to the Android manifest file.
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/block-status-bar-api}}
 
Version of wizarviewagentassistant should equal or larger than 2.10.57.
== Permission ==
The application declares the following permissions in the manifest:
  android.permission.CLOUDPOS_LOCK_STATUS_BAR
 
== API Overview ==
=== <big>setStatusBarLocked</big>===
  <syntaxhighlight lang="java">void setStatusBarLocked(boolean lock);</syntaxhighlight>
Set the status bar locked as true will make the status bar can not be pull down.
 
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Parameters
|-
| lock|| '''boolean:'''  true for lock, false for disable lock.
|}
 
== Download ==
=== AIDL file ===
Please download the [http://ftp.wizarpos.com/advanceSDK/ISystemExtApi.aidl aidl file]
=== Demo ===
Please download the [http://ftp.wizarpos.com/advanceSDK/sample_blockstatusbar.7z demo APP]

Latest revision as of 03:23, 8 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/block-status-bar-api

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!