Class KeyDownArgs
- Namespace
- VpnHood.Core.Client.Devices.Android.ActivityEvents
- Assembly
- VpnHood.Core.Client.Devices.Android.dll
Provides the data of KeyDownEvent, where a handler that handles the key says so.
public class KeyDownArgs
- Inheritance
-
KeyDownArgs
- Inherited Members
Properties
IsHandled
Gets or sets a value indicating whether a handler has handled the key, so the activity leaves it.
public bool IsHandled { get; set; }
Property Value
KeyCode
Gets the key's code.
public required Keycode KeyCode { get; init; }
Property Value
KeyEvent
Gets the key's event, or null.
public required KeyEvent? KeyEvent { get; init; }