InputMethodManager.AcceptStylusHandwritingDelegation 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
AcceptStylusHandwritingDelegation(View) |
Accepts and starts a stylus handwriting session on the delegate view, if handwriting
initiation delegation was previously requested using
|
AcceptStylusHandwritingDelegation(View, String) |
Accepts and starts a stylus handwriting session on the delegate view, if handwriting
initiation delegation was previously requested using
|
AcceptStylusHandwritingDelegation(View, String, IExecutor, IConsumer) |
Accepts and starts a stylus handwriting session on the delegate view, if handwriting
initiation delegation was previously requested using
|
AcceptStylusHandwritingDelegation(View, String, HandwritingDelegateFlag, IExecutor, IConsumer) |
Accepts and starts a stylus handwriting session on the delegate view, if handwriting
initiation delegation was previously requested using |
AcceptStylusHandwritingDelegation(View)
Accepts and starts a stylus handwriting session on the delegate view, if handwriting
initiation delegation was previously requested using
#prepareStylusHandwritingDelegation(View)
from the delegator.
[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
Parameters
- delegateView
- View
delegate view capable of receiving input via InputConnection
Returns
true
if view belongs to same application package as used in
#prepareStylusHandwritingDelegation(View)
and delegation is accepted
- Attributes
Remarks
Accepts and starts a stylus handwriting session on the delegate view, if handwriting initiation delegation was previously requested using #prepareStylusHandwritingDelegation(View)
from the delegator.
Note: If delegator and delegate are in different application packages, use #acceptStylusHandwritingDelegation(View, String)
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
AcceptStylusHandwritingDelegation(View, String)
Accepts and starts a stylus handwriting session on the delegate view, if handwriting
initiation delegation was previously requested using
#prepareStylusHandwritingDelegation(View, String)
from the delegator and the view
belongs to a specified delegate package.
[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
Parameters
- delegateView
- View
delegate view capable of receiving input via InputConnection
- delegatorPackageName
- String
package name of the delegator that handled initial stylus stroke.
Returns
true
if view belongs to allowed delegate package declared in #prepareStylusHandwritingDelegation(View, String)
and delegation is accepted
- Attributes
Remarks
Accepts and starts a stylus handwriting session on the delegate view, if handwriting initiation delegation was previously requested using #prepareStylusHandwritingDelegation(View, String)
from the delegator and the view belongs to a specified delegate package.
Note: If delegator and delegate are in the same application package, use #acceptStylusHandwritingDelegation(View)
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
AcceptStylusHandwritingDelegation(View, String, IExecutor, IConsumer)
Accepts and starts a stylus handwriting session on the delegate view, if handwriting
initiation delegation was previously requested using
#prepareStylusHandwritingDelegation(View, String)
from the delegator and the view
belongs to a specified delegate package.
[Android.Runtime.Register("acceptStylusHandwritingDelegation", "(Landroid/view/View;Ljava/lang/String;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=35)]
public void AcceptStylusHandwritingDelegation (Android.Views.View delegateView, string delegatorPackageName, Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("acceptStylusHandwritingDelegation", "(Landroid/view/View;Ljava/lang/String;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=35)>]
member this.AcceptStylusHandwritingDelegation : Android.Views.View * string * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
Parameters
- delegateView
- View
delegate view capable of receiving input via InputConnection
on which #startStylusHandwriting(View)
will be called.
- delegatorPackageName
- String
package name of the delegator that handled initial stylus stroke.
- executor
- IExecutor
The executor to run the callback on.
- callback
- IConsumer
Consumer callback that provides true
if view belongs to allowed
delegate package declared in
#prepareStylusHandwritingDelegation(View, String)
and handwriting
session can start.
- Attributes
Remarks
Accepts and starts a stylus handwriting session on the delegate view, if handwriting initiation delegation was previously requested using #prepareStylusHandwritingDelegation(View, String)
from the delegator and the view belongs to a specified delegate package.
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
AcceptStylusHandwritingDelegation(View, String, HandwritingDelegateFlag, IExecutor, IConsumer)
Accepts and starts a stylus handwriting session on the delegate view, if handwriting
initiation delegation was previously requested using #prepareStylusHandwritingDelegation(View, String)
from the delegator and the view belongs to
a specified delegate package.
[Android.Runtime.Register("acceptStylusHandwritingDelegation", "(Landroid/view/View;Ljava/lang/String;ILjava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=35)]
public void AcceptStylusHandwritingDelegation (Android.Views.View delegateView, string delegatorPackageName, Android.Views.InputMethods.HandwritingDelegateFlag flags, Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("acceptStylusHandwritingDelegation", "(Landroid/view/View;Ljava/lang/String;ILjava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=35)>]
member this.AcceptStylusHandwritingDelegation : Android.Views.View * string * Android.Views.InputMethods.HandwritingDelegateFlag * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
Parameters
- delegateView
- View
delegate view capable of receiving input via InputConnection
- delegatorPackageName
- String
package name of the delegator that handled initial stylus stroke.
- flags
- HandwritingDelegateFlag
#HANDWRITING_DELEGATE_FLAG_HOME_DELEGATOR_ALLOWED
or 0
- executor
- IExecutor
The executor to run the callback on.
- callback
- IConsumer
true>
would be received if delegation was accepted.
- Attributes
Remarks
Accepts and starts a stylus handwriting session on the delegate view, if handwriting initiation delegation was previously requested using #prepareStylusHandwritingDelegation(View, String)
from the delegator and the view belongs to a specified delegate package.
Note: If delegator and delegate are in the same application package, use #acceptStylusHandwritingDelegation(View)
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.