InputMethodManager.AcceptStylusHandwritingDelegation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AcceptStylusHandwritingDelegation(View) |
接受并启动委托视图中的触笔手写会话,如果以前使用委托人请求 |
AcceptStylusHandwritingDelegation(View, String) |
接受并启动委托视图中的触笔手写会话,如果以前从 |
AcceptStylusHandwritingDelegation(View)
接受并启动委托视图中的触笔手写会话,如果以前使用委托人请求 #prepareStylusHandwritingDelegation(View)
手写启动委托。
[Android.Runtime.Register("acceptStylusHandwritingDelegation", "(Landroid/view/View;)Z", "", ApiSince=34)]
public bool AcceptStylusHandwritingDelegation (Android.Views.View delegateView);
[<Android.Runtime.Register("acceptStylusHandwritingDelegation", "(Landroid/view/View;)Z", "", ApiSince=34)>]
member this.AcceptStylusHandwritingDelegation : Android.Views.View -> bool
参数
- delegateView
- View
可以通过委托视图接收要对其InputConnection
#startStylusHandwriting(View)
调用的输入。
返回
true
如果视图属于与在手写会话中使用的 #prepareStylusHandwritingDelegation(View)
应用程序包相同的应用程序包,则可以启动。
- 属性
注解
接受并启动委托视图中的触笔手写会话,如果以前使用委托人请求 #prepareStylusHandwritingDelegation(View)
手写启动委托。
注意:如果委派器和委托位于不同的应用程序包中,请改用 #acceptStylusHandwritingDelegation(View, String)
。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
AcceptStylusHandwritingDelegation(View, String)
接受并启动委托视图中的触笔手写会话,如果以前从 #prepareStylusHandwritingDelegation(View, String)
委托人请求手写初始委托,并且视图属于指定的委托包。
[Android.Runtime.Register("acceptStylusHandwritingDelegation", "(Landroid/view/View;Ljava/lang/String;)Z", "", ApiSince=34)]
public bool AcceptStylusHandwritingDelegation (Android.Views.View delegateView, string delegatorPackageName);
[<Android.Runtime.Register("acceptStylusHandwritingDelegation", "(Landroid/view/View;Ljava/lang/String;)Z", "", ApiSince=34)>]
member this.AcceptStylusHandwritingDelegation : Android.Views.View * string -> bool
参数
- delegateView
- View
可以通过委托视图接收要对其InputConnection
#startStylusHandwriting(View)
调用的输入。
- delegatorPackageName
- String
处理初始触笔笔划的委托器的包名称。
返回
true
如果视图属于允许的委托包声明, #prepareStylusHandwritingDelegation(View, String)
并且手写会话可以启动。
- 属性
注解
接受并启动委托视图中的触笔手写会话,如果以前从 #prepareStylusHandwritingDelegation(View, String)
委托人请求手写初始委托,并且视图属于指定的委托包。
注意:如果委派器和委托位于同一应用程序包中,请改用 #acceptStylusHandwritingDelegation(View)
。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。