InputMethodManager.StartConnectionlessStylusHandwritingForDelegation 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.
Overloads
StartConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, IExecutor, IConnectionlessHandwritingCallback) |
Starts a connectionless stylus handwriting session (see |
StartConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, String, IExecutor, IConnectionlessHandwritingCallback) |
Starts a connectionless stylus handwriting session (see |
StartConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, IExecutor, IConnectionlessHandwritingCallback)
Starts a connectionless stylus handwriting session (see #startConnectionlessStylusHandwriting
) and additionally enables the recognised handwritten
text to be later committed to a text editor using #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
Parameters
- delegatorView
- View
the view receiving stylus events
- cursorAnchorInfo
- CursorAnchorInfo
positional information about the view receiving stylus events
- callbackExecutor
- IExecutor
the executor to run the callback on
- callback
- IConnectionlessHandwritingCallback
the callback to receive the result
- Attributes
Remarks
Starts a connectionless stylus handwriting session (see #startConnectionlessStylusHandwriting
) and additionally enables the recognised handwritten text to be later committed to a text editor using #acceptStylusHandwritingDelegation(View)
.
After a connectionless session started using this method completes successfully, a text editor view, called the delegate view, may call #acceptStylusHandwritingDelegation(View)
which will request the IME to commit the recognised handwritten text from the connectionless session to the delegate view.
The delegate view must belong to the same package as the delegator view for the delegation to succeed. If the delegate view belongs to a different package, use #startConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, String, Executor, ConnectionlessHandwritingCallback)
instead.
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
StartConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, String, IExecutor, IConnectionlessHandwritingCallback)
Starts a connectionless stylus handwriting session (see #startConnectionlessStylusHandwriting
) and additionally enables the recognised handwritten
text to be later committed to a text editor using #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
Parameters
- delegatorView
- View
the view receiving stylus events
- cursorAnchorInfo
- CursorAnchorInfo
positional information about the view receiving stylus events
- delegatePackageName
- String
name of the package containing the delegate view which will accept the delegation
- callbackExecutor
- IExecutor
the executor to run the callback on
- callback
- IConnectionlessHandwritingCallback
the callback to receive the result
- Attributes
Remarks
Starts a connectionless stylus handwriting session (see #startConnectionlessStylusHandwriting
) and additionally enables the recognised handwritten text to be later committed to a text editor using #acceptStylusHandwritingDelegation(View, String)
.
After a connectionless session started using this method completes successfully, a text editor view, called the delegate view, may call #acceptStylusHandwritingDelegation(View, String)
which will request the IME to commit the recognised handwritten text from the connectionless session to the delegate view.
The delegate view must belong to delegatePackageName
for the delegation to succeed.
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.