共用方式為


KeyEvent.Characters Property

Definition

For the special case of a #ACTION_MULTIPLE event with key code of #KEYCODE_UNKNOWN, this is a raw string of characters associated with the event.

public string? Characters { [Android.Runtime.Register("getCharacters", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getCharacters", "()Ljava/lang/String;", "")>]
member this.Characters : string

Property Value

Returns a String of 1 or more characters associated with the event.

Attributes

Remarks

For the special case of a #ACTION_MULTIPLE event with key code of #KEYCODE_UNKNOWN, this is a raw string of characters associated with the event. In all other cases it is null.

This member is deprecated. no longer used by the input system.

Java documentation for android.view.KeyEvent.getCharacters().

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