Activity.TakeKeyEvents(Boolean) Method
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.
Request that key events come to this activity.
[Android.Runtime.Register("takeKeyEvents", "(Z)V", "GetTakeKeyEvents_ZHandler")]
public virtual void TakeKeyEvents (bool get);
[<Android.Runtime.Register("takeKeyEvents", "(Z)V", "GetTakeKeyEvents_ZHandler")>]
abstract member TakeKeyEvents : bool -> unit
override this.TakeKeyEvents : bool -> unit
Parameters
- get
- Boolean
- Attributes
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.
Java documentation for android.app.Activity.takeKeyEvents(boolean)
.
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.