Share via


InputMethod.AccessibilityInputConnection.PerformContextMenuAction Method

Definition

Perform a context menu action on the field.

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

Parameters

id
Int32
Attributes

Remarks

Perform a context menu action on the field. The given id may be one of: android.R.id#selectAll, android.R.id#startSelectingText, android.R.id#stopSelectingText, android.R.id#cut, android.R.id#copy, android.R.id#paste, android.R.id#copyUrl, or android.R.id#switchInputMethod

Java documentation for android.accessibilityservice.InputMethod.AccessibilityInputConnection.performContextMenuAction(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