Skip to content

setGestureStatusBar

Allow or Disable Swipe to Pull Down the Status Bar.

valuedescription
trueAllow Swipe to Pull Down the Status Bar.
falseDisable Swipe to Pull Down the Status Bar.
kotlin
class MainActivity : ComponentActivity() {
    // init zcapi
    private var displayer = zcapi()

    override fun your_app_method() {
        this.displayer.setGestureStatusBar(true)
        // ....
}

© All rights reserved. Dingshang Metal Products Co., Ltd.