Udostępnij za pośrednictwem


InputMethod.AccessibilityInputConnection.ClearMetaKeyStates(Int32) Method

Definition

Clear the given meta key pressed states in the given input connection.

[Android.Runtime.Register("clearMetaKeyStates", "(I)V", "", ApiSince=33)]
public void ClearMetaKeyStates (int states);
[<Android.Runtime.Register("clearMetaKeyStates", "(I)V", "", ApiSince=33)>]
member this.ClearMetaKeyStates : int -> unit

Parameters

states
Int32

The states to be cleared, may be one or more bits as per KeyEvent#getMetaState() KeyEvent.getMetaState().

Attributes

Remarks

Clear the given meta key pressed states in the given input connection.

This can be used by the accessibility service to clear the meta key states set by a hardware keyboard with latched meta keys, if the editor keeps track of these.

Java documentation for android.accessibilityservice.InputMethod.AccessibilityInputConnection.clearMetaKeyStates(int).

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