Language

InputMethodManager.StartConnectionlessStylusHandwritingForDelegation メソッド

定義

オーバーロード

Name 説明
StartConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, IExecutor, IConnectionlessHandwritingCallback)

接続なしのスタイラス手書きセッション ( #startConnectionlessStylusHandwritingを参照) を開始し、認識された手書きテキストを後で #acceptStylusHandwritingDelegation(View)を使用してテキスト エディターにコミットできるようにします。

StartConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, String, IExecutor, IConnectionlessHandwritingCallback)

接続なしのスタイラス手書きセッション ( #startConnectionlessStylusHandwritingを参照) を開始し、認識された手書きテキストを後で #acceptStylusHandwritingDelegation(View, String)を使用してテキスト エディターにコミットできるようにします。

StartConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, IExecutor, IConnectionlessHandwritingCallback)

接続なしのスタイラス手書きセッション ( #startConnectionlessStylusHandwritingを参照) を開始し、認識された手書きテキストを後で #acceptStylusHandwritingDelegation(View)を使用してテキスト エディターにコミットできるようにします。

[Android.Runtime.Register("startConnectionlessStylusHandwritingForDelegation", "(Landroid/view/View;Landroid/view/inputmethod/CursorAnchorInfo;Ljava/util/concurrent/Executor;Landroid/view/inputmethod/ConnectionlessHandwritingCallback;)V", "", ApiSince=35)]
public void StartConnectionlessStylusHandwritingForDelegation(Android.Views.View delegatorView, Android.Views.InputMethods.CursorAnchorInfo? cursorAnchorInfo, Java.Util.Concurrent.IExecutor callbackExecutor, Android.Views.InputMethods.IConnectionlessHandwritingCallback callback);
[<Android.Runtime.Register("startConnectionlessStylusHandwritingForDelegation", "(Landroid/view/View;Landroid/view/inputmethod/CursorAnchorInfo;Ljava/util/concurrent/Executor;Landroid/view/inputmethod/ConnectionlessHandwritingCallback;)V", "", ApiSince=35)>]
member this.StartConnectionlessStylusHandwritingForDelegation : Android.Views.View * Android.Views.InputMethods.CursorAnchorInfo * Java.Util.Concurrent.IExecutor * Android.Views.InputMethods.IConnectionlessHandwritingCallback -> unit

パラメーター

delegatorView
View

スタイラス イベントを受信するビュー

cursorAnchorInfo
CursorAnchorInfo

スタイラス イベントを受信するビューに関する位置情報

callbackExecutor
IExecutor

コールバックを実行する Executor

callback
IConnectionlessHandwritingCallback

結果を受け取るコールバック

属性

注釈

接続なしのスタイラス手書きセッション ( #startConnectionlessStylusHandwritingを参照) を開始し、認識された手書きテキストを後で #acceptStylusHandwritingDelegation(View)を使用してテキスト エディターにコミットできるようにします。

このメソッドの使用を開始した接続なしのセッションが正常に完了すると、デリゲート ビューと呼ばれるテキスト エディター ビューが #acceptStylusHandwritingDelegation(View) を呼び出して、認識された手書きテキストをコネクションレス セッションからデリゲート ビューにコミットするように IME に要求できます。

委任を成功させるには、委任ビューが委任ビューと同じパッケージに属している必要があります。 デリゲート ビューが別のパッケージに属している場合は、代わりに #startConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, String, Executor, ConnectionlessHandwritingCallback) を使用します。

Javaドキュメント。

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

適用対象

StartConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, String, IExecutor, IConnectionlessHandwritingCallback)

接続なしのスタイラス手書きセッション ( #startConnectionlessStylusHandwritingを参照) を開始し、認識された手書きテキストを後で #acceptStylusHandwritingDelegation(View, String)を使用してテキスト エディターにコミットできるようにします。

[Android.Runtime.Register("startConnectionlessStylusHandwritingForDelegation", "(Landroid/view/View;Landroid/view/inputmethod/CursorAnchorInfo;Ljava/lang/String;Ljava/util/concurrent/Executor;Landroid/view/inputmethod/ConnectionlessHandwritingCallback;)V", "", ApiSince=35)]
public void StartConnectionlessStylusHandwritingForDelegation(Android.Views.View delegatorView, Android.Views.InputMethods.CursorAnchorInfo? cursorAnchorInfo, string delegatePackageName, Java.Util.Concurrent.IExecutor callbackExecutor, Android.Views.InputMethods.IConnectionlessHandwritingCallback callback);
[<Android.Runtime.Register("startConnectionlessStylusHandwritingForDelegation", "(Landroid/view/View;Landroid/view/inputmethod/CursorAnchorInfo;Ljava/lang/String;Ljava/util/concurrent/Executor;Landroid/view/inputmethod/ConnectionlessHandwritingCallback;)V", "", ApiSince=35)>]
member this.StartConnectionlessStylusHandwritingForDelegation : Android.Views.View * Android.Views.InputMethods.CursorAnchorInfo * string * Java.Util.Concurrent.IExecutor * Android.Views.InputMethods.IConnectionlessHandwritingCallback -> unit

パラメーター

delegatorView
View

スタイラス イベントを受信するビュー

cursorAnchorInfo
CursorAnchorInfo

スタイラス イベントを受信するビューに関する位置情報

delegatePackageName
String

委任を受け入れるデリゲート ビューを含むパッケージの名前

callbackExecutor
IExecutor

コールバックを実行する Executor

callback
IConnectionlessHandwritingCallback

結果を受け取るコールバック

属性

注釈

接続なしのスタイラス手書きセッション ( #startConnectionlessStylusHandwritingを参照) を開始し、認識された手書きテキストを後で #acceptStylusHandwritingDelegation(View, String)を使用してテキスト エディターにコミットできるようにします。

このメソッドの使用を開始した接続なしのセッションが正常に完了すると、デリゲート ビューと呼ばれるテキスト エディター ビューが #acceptStylusHandwritingDelegation(View, String) を呼び出して、認識された手書きテキストをコネクションレス セッションからデリゲート ビューにコミットするように IME に要求できます。

委任を成功させるには、デリゲート ビューが delegatePackageName に属している必要があります。

Javaドキュメント。

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

適用対象