BaseMovementMethod.GetMovementMetaState(ISpannable, KeyEvent) Method

Definition

Gets the meta state used for movement using the modifiers tracked by the text buffer as well as those present in the key event.

[Android.Runtime.Register("getMovementMetaState", "(Landroid/text/Spannable;Landroid/view/KeyEvent;)I", "GetGetMovementMetaState_Landroid_text_Spannable_Landroid_view_KeyEvent_Handler")]
protected virtual int GetMovementMetaState (Android.Text.ISpannable? buffer, Android.Views.KeyEvent? e);
[<Android.Runtime.Register("getMovementMetaState", "(Landroid/text/Spannable;Landroid/view/KeyEvent;)I", "GetGetMovementMetaState_Landroid_text_Spannable_Landroid_view_KeyEvent_Handler")>]
abstract member GetMovementMetaState : Android.Text.ISpannable * Android.Views.KeyEvent -> int
override this.GetMovementMetaState : Android.Text.ISpannable * Android.Views.KeyEvent -> int

Parameters

buffer
ISpannable

The text buffer.

e
KeyEvent

The key event.

Returns

The keyboard meta states used for movement.

Attributes

Remarks

Gets the meta state used for movement using the modifiers tracked by the text buffer as well as those present in the key event.

The movement meta state excludes the state of locked modifiers or the SHIFT key since they are not used by movement actions (but they may be used for selection).

Java documentation for android.text.method.BaseMovementMethod.getMovementMetaState(android.text.Spannable, android.view.KeyEvent).

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