| Package | qnx.events |
| Class | public class VirtualKeyboardEvent |
| Inheritance | VirtualKeyboardEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| keyboardSize : Number
The height of the keyboard in pixels. | VirtualKeyboardEvent | ||
| Method | Defined By | ||
|---|---|---|---|
VirtualKeyboardEvent(type:String, keyboardSize:Number)
Creates a new VirtualKeyboardEvent. | VirtualKeyboardEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| HIDE : String = virtualKeyboardHide [static]
Dispatched when the keyboard is hidden. | VirtualKeyboardEvent | ||
| INFO : String = virtualKeyboardInfo [static]
Dispatched when the size of the keyboard changes. | VirtualKeyboardEvent | ||
| SHOW : String = virtualKeyboardShow [static]
Dispatched when the keyboard is shown. | VirtualKeyboardEvent | ||
| keyboardSize | property |
public var keyboardSize:Number
The height of the keyboard in pixels.
This value is valid only for the SHOW and INFO events.
| VirtualKeyboardEvent | () | Constructor |
public function VirtualKeyboardEvent(type:String, keyboardSize:Number)Creates a new VirtualKeyboardEvent.
Parameterstype:String — The type of event.
| |
keyboardSize:Number — The size of the keyboard.
|
| HIDE | Constant |
public static const HIDE:String = virtualKeyboardHideDispatched when the keyboard is hidden. This is dispatched when the keyboard is dimissed for any reason.
| INFO | Constant |
public static const INFO:String = virtualKeyboardInfoDispatched when the size of the keyboard changes.
| SHOW | Constant |
public static const SHOW:String = virtualKeyboardShowDispatched when the keyboard is shown. This is dispatched when the keyboard is shown when a field that requires focus gets focus or when the user swipes up from the bottom right.