InputMethodService.OnExtractTextContextMenuItem(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.