Taal

DefaultKey Enum

Definition

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(DefaultKey) to turn off default handling of keys.

Android reference for android.app.Activity.DEFAULT_KEYS_DISABLE.

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.

Dialer 1

Use with SetDefaultKeyMode(DefaultKey) to launch the dialer during default key handling.

Android reference for android.app.Activity.DEFAULT_KEYS_DIALER.

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.

Shortcut 2

Use with SetDefaultKeyMode(DefaultKey) to execute a menu shortcut during default key handling. The user does not need to hold down the menu key.

Android reference for android.app.Activity.DEFAULT_KEYS_SHORTCUT.

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.

SearchLocal 3

Use with SetDefaultKeyMode(DefaultKey) to start an application-defined search for unhandled keystrokes. If the application or activity does not define a search, the keys are ignored. See SearchManager for details.

Android reference for android.app.Activity.DEFAULT_KEYS_SEARCH_LOCAL.

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.

SearchGlobal 4

Use with SetDefaultKeyMode(DefaultKey) to start a global search for unhandled keystrokes. This is typically a web search, but some platforms can define other global search methods. See SearchManager for details.

Android reference for android.app.Activity.DEFAULT_KEYS_SEARCH_GLOBAL.

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.

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.

Applies to