Android Guides | Samples

Android.App.DefaultKey Enumeration

Enumerates values returned by several methods of DefaultKey and taken as a parameter of the Activity.SetDefaultKeyMode member.

Syntax

public enum DefaultKey

Remarks

Enumerates values returned by the following: and taken as a parameter of the Activity.SetDefaultKeyMode member.

Members

Member NameDescription
DialerUse with Activity.SetDefaultKeyMode(DefaultKey) to launch the dialer during default key handling.
DisableUse with Activity.SetDefaultKeyMode(DefaultKey) to turn off default handling of keys.
SearchGlobal

Activity.SetDefaultKeyMode(DefaultKey)

See SearchManager for more details.

SearchLocal

Activity.SetDefaultKeyMode(DefaultKey)

See SearchManager for more details.

Shortcut

Activity.SetDefaultKeyMode(DefaultKey)

That is, the user does not need to hold down the menu key to execute menu shortcuts.

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.App.DefaultKey are listed below.

See Also: Enum

Public Fields

DialerDefaultKey. Use with Activity.SetDefaultKeyMode(DefaultKey) to launch the dialer during default key handling.
DisableDefaultKey. Use with Activity.SetDefaultKeyMode(DefaultKey) to turn off default handling of keys.
SearchGlobalDefaultKey.

Activity.SetDefaultKeyMode(DefaultKey)

See SearchManager for more details.

SearchLocalDefaultKey.

Activity.SetDefaultKeyMode(DefaultKey)

See SearchManager for more details.

ShortcutDefaultKey.

Activity.SetDefaultKeyMode(DefaultKey)

That is, the user does not need to hold down the menu key to execute menu shortcuts.