Partager via


MetaKeyKeyListener.AdjustMetaAfterKeypress Method

Definition

Overloads

AdjustMetaAfterKeypress(ISpannable)

Call this method after you handle a keypress so that the meta state will be reset to unshifted (if it is not still down) or primed to be reset to unshifted (once it is released).

AdjustMetaAfterKeypress(Int64)

Call this method after you handle a keypress so that the meta state will be reset to unshifted (if it is not still down) or primed to be reset to unshifted (once it is released).

AdjustMetaAfterKeypress(ISpannable)

Call this method after you handle a keypress so that the meta state will be reset to unshifted (if it is not still down) or primed to be reset to unshifted (once it is released).

[Android.Runtime.Register("adjustMetaAfterKeypress", "(Landroid/text/Spannable;)V", "")]
public static void AdjustMetaAfterKeypress (Android.Text.ISpannable? content);
[<Android.Runtime.Register("adjustMetaAfterKeypress", "(Landroid/text/Spannable;)V", "")>]
static member AdjustMetaAfterKeypress : Android.Text.ISpannable -> unit

Parameters

content
ISpannable
Attributes

Remarks

Call this method after you handle a keypress so that the meta state will be reset to unshifted (if it is not still down) or primed to be reset to unshifted (once it is released).

Java documentation for android.text.method.MetaKeyKeyListener.adjustMetaAfterKeypress(android.text.Spannable).

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

AdjustMetaAfterKeypress(Int64)

Call this method after you handle a keypress so that the meta state will be reset to unshifted (if it is not still down) or primed to be reset to unshifted (once it is released).

[Android.Runtime.Register("adjustMetaAfterKeypress", "(J)J", "")]
public static long AdjustMetaAfterKeypress (long state);
[<Android.Runtime.Register("adjustMetaAfterKeypress", "(J)J", "")>]
static member AdjustMetaAfterKeypress : int64 -> int64

Parameters

state
Int64

Returns

Attributes

Remarks

Call this method after you handle a keypress so that the meta state will be reset to unshifted (if it is not still down) or primed to be reset to unshifted (once it is released). Takes the current state, returns the new state.

Java documentation for android.text.method.MetaKeyKeyListener.adjustMetaAfterKeypress(long).

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