Share via


InputMethodService.OnExtractTextContextMenuItem(Int32) Method

Definition

This is called when the user has selected a context menu item from the extracted text view, when running in fullscreen mode.

[Android.Runtime.Register("onExtractTextContextMenuItem", "(I)Z", "GetOnExtractTextContextMenuItem_IHandler")]
public virtual bool OnExtractTextContextMenuItem (int id);
[<Android.Runtime.Register("onExtractTextContextMenuItem", "(I)Z", "GetOnExtractTextContextMenuItem_IHandler")>]
abstract member OnExtractTextContextMenuItem : int -> bool
override this.OnExtractTextContextMenuItem : int -> bool

Parameters

id
Int32

Returns

Attributes

Remarks

This is called when the user has selected a context menu item from the extracted text view, when running in fullscreen mode. The default implementation sends this action to the current InputConnection's InputConnection#performContextMenuAction(int), for it to be processed in underlying "real" editor. Re-implement this to provide whatever behavior you want.

Java documentation for android.inputmethodservice.InputMethodService.onExtractTextContextMenuItem(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