Android Guides | Samples

Android.Views.Window.TakeKeyEvents Method

Request that key events come to this activity.

Syntax

[Android.Runtime.Register("takeKeyEvents", "(Z)V", "GetTakeKeyEvents_ZHandler")]
public abstract Void TakeKeyEvents (Boolean get)

Parameters

get

Remarks

Request that key events come to this activity. Use this if your activity has no views with focus, but the activity still wants a chance to process key events.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1