InputMethodManager.AcceptStylusHandwritingDelegation Method

Definition

Overloads

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.

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 te delegator and the view belongs to a specified delegate package.

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 on which #startStylusHandwriting(View) will be called.

Returns

true if view belongs to same application package as used in #prepareStylusHandwritingDelegation(View) 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) from the delegator.

Note: If delegator and delegate are in different application packages, use #acceptStylusHandwritingDelegation(View, String) instead.

Java documentation for android.view.inputmethod.InputMethodManager.acceptStylusHandwritingDelegation(android.view.View).

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 te 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 on which #startStylusHandwriting(View) will be called.

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 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 te delegator and the view belongs to a specified delegate package.

Note: If delegator and delegate are in same application package use #acceptStylusHandwritingDelegation(View) instead.

Java documentation for android.view.inputmethod.InputMethodManager.acceptStylusHandwritingDelegation(android.view.View, java.lang.String).

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