InputMethodManager.StartConnectionlessStylusHandwritingForDelegation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| StartConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, IExecutor, IConnectionlessHandwritingCallback) |
启动无连接触笔手写会话(见 |
| StartConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, String, IExecutor, IConnectionlessHandwritingCallback) |
启动无连接触笔手写会话(见 |
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
要运行回调的执行程序
- callback
- IConnectionlessHandwritingCallback
用于接收结果的回调
- 特性
注解
启动无连接触笔手写会话(见 #startConnectionlessStylusHandwriting),并启用识别的手写文本稍后使用 #acceptStylusHandwritingDelegation(View)的文本编辑器提交。
使用此方法启动无连接会话后,文本编辑器视图(称为委托视图)可以调用 #acceptStylusHandwritingDelegation(View) 该视图,该视图将请求 IME 将识别的手写文本从无连接会话提交到委托视图。
委托视图必须属于委托人视图的包才能成功。 如果委托视图属于其他包,请改用 #startConnectionlessStylusHandwritingForDelegation(View, CursorAnchorInfo, String, Executor, ConnectionlessHandwritingCallback) 。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
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
要运行回调的执行程序
- callback
- IConnectionlessHandwritingCallback
用于接收结果的回调
- 特性
注解
启动无连接触笔手写会话(见 #startConnectionlessStylusHandwriting),并启用识别的手写文本稍后使用 #acceptStylusHandwritingDelegation(View, String)的文本编辑器提交。
使用此方法启动无连接会话后,文本编辑器视图(称为委托视图)可以调用 #acceptStylusHandwritingDelegation(View, String) 该视图,该视图将请求 IME 将识别的手写文本从无连接会话提交到委托视图。
委托视图必须属于 delegatePackageName 委托才能成功。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。