Block Status Bar API
Required Permissions
The application declares the following permissions in the manifest:
android.permission.CLOUDPOS_LOCK_STATUS_BAR
API Overview
setStatusBarLocked
void setStatusBarLocked(boolean lock);
Set the status bar locked as true will make the status bar can not be pull down.
Parameters
lock
for the status bar lock setting, a boolean value is used: true locks status bar, while false unlock it.
Resource Download
Refer to the cloudpos apidemo - demo.
Last updated