DefaultKey Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several methods of DefaultKey and taken as a parameter of the F:Android.App.Activity.SetDefaultKeyMode member.
public enum DefaultKey
type DefaultKey =
- Inheritance
-
DefaultKey
Fields
| Name | Value | Description |
|---|---|---|
| Disable | 0 | Use with setDefaultKeyMode(int) to turn off default handling of keys. |
| Dialer | 1 | Use with setDefaultKeyMode(int) to launch the dialer during default key handling. |
| Shortcut | 2 | Use with setDefaultKeyMode(int) to execute a menu shortcut in default key handling. |
| SearchLocal | 3 | Use with setDefaultKeyMode(int) to specify that unhandled keystrokes will start an application-defined search. |
| SearchGlobal | 4 | Use with setDefaultKeyMode(int) to specify that unhandled keystrokes will start a global search (typically web search, but some platforms may define alternate methods for global search) See android.app.SearchManager for more details. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.