# Interface VirtualKeyboardInterface

public interface VirtualKeyboardInterface
Virtual keyboards needs to implement this interface to be registered as a platform keyboard.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getVirtualKeyboardName()`
  Returns the Virtual Keyboard name.
  `boolean`
  `isVirtualKeyboardShowing()`
  Indicates if the Virtual Keyboard is currently showing.
  `void`
  `setInputType(int inputType)`
  This can be used to indicate to the VirtualKeyboard what type of input to display.
  `void`
  `showKeyboard(boolean show)`
  Shows or dispose the virtual keyboard

- ## Method Details

  - ### setInputType

    void setInputType(int inputType)

    This can be used to indicate to the VirtualKeyboard what type of input to display.

    ###### Parameters

    - `inputType`: @param inputType one of TextArea.ANY, TextArea.EMAILADDR, TextArea.NUMERIC, TextArea.PHONENUMBER, TextArea.URL, TextArea.DECIMAL it can be bitwised or'd with one of TextArea.PASSWORD, TextArea.UNEDITABLE, TextArea.SENSITIVE, TextArea.NON_PREDICTIVE, INITIAL_CAPS_SENTENCE, INITIAL_CAPS_WORD. E.g. ANY | PASSWORD.

  - ### getVirtualKeyboardName

    String getVirtualKeyboardName()

    Returns the Virtual Keyboard name. This is a unique indentifier for the Virtual Keyboard implementation

    ###### Returns

    a unique id that represents this virtual keyboard.

  - ### showKeyboard

    void showKeyboard(boolean show)

    Shows or dispose the virtual keyboard

    ###### Parameters

    - `show`: if true shows the virtual keyboard

  - ### isVirtualKeyboardShowing

    boolean isVirtualKeyboardShowing()

    Indicates if the Virtual Keyboard is currently showing.

    ###### Returns

    true if the Virtual Keyboard is currently showing