KMManager.getGlobeKeyAction()
Summary
The getGlobeKeyAction()
method returns the action type of the 'Globe' key.
Syntax
KMManager.getGlobeKeyAction(KeyboardType kbType)
Parameters
kbType
- The keyboard type.
KEYBOARD_TYPE_INAPP
orKEYBOARD_TYPE_SYSTEM
.
Returns
Returns the action type of the 'Globe' key as one of GLOBE_KEY_ACTION_SHOW_MENU
, GLOBE_KEY_ACTION_SWITCH_TO_NEXT_KEYBOARD
or GLOBE_KEY_ACTION_DO_NOTHING
.
Description
Use this method to get the action type of the 'Globe' key.
Examples
Example: Using getGlobeKeyAction()
The following script illustrate the use of getGlobeKeyAction()
:
GlobeKeyAction action = KMManager.getGlobeKeyAction(KeyboardType.KEYBOARD_TYPE_SYSTEM);