Language

InputConnectionWrapper.PerformContextMenuAction(Int32) メソッド

定義

フィールドに対してコンテキスト メニュー アクションを実行します。

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

パラメーター

id
Int32

要求するコンテキスト メニュー アクションのリソース識別子。

戻り値

ターゲット接続によって報告された結果。 true結果は、テキストが変更されたことを保証するものではありません。

実装

属性

注釈

識別子には、 SelectAll、 StartSelectingText、 StopSelectingText、 Cut、 Copy、 Paste、 CopyUrl、または SwitchInputMethodを指定できます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象