Velocity API: Keyboard.toggleVisible()

Version 1

    Return To Index

    Keyboard.toggleVisible()

    Overview

    Show or hide the software keyboard. Allows you control over whether the keyboard displays when a manual-entry text field is selected.

    Hiding the software keyboard does not disable physical keys, and the keyboard can still be shown if the user presses the keyboard icon.

    Format

     

    Keyboard.toggleVisible(keyboardVisible);
    ParameterDescriptionTypeRequired
    keyboardVisibleSetting this parameter to true shows the software keyboard; false hides the software keyboard.BooleanRequired

     

    Example

    /* Show the device's onscreen keyboard. 
    */
      
    Keyboard.toggleVisible(true);