RemoteViews.SetOnStylusHandwritingPendingIntent(Int32, PendingIntent) Method

Definition

Equivalent to calling View.setHandwritingDelegatorCallback(Runnable) to send the provided PendingIntent .

[Android.Runtime.Register("setOnStylusHandwritingPendingIntent", "(ILandroid/app/PendingIntent;)V", "GetSetOnStylusHandwritingPendingIntent_ILandroid_app_PendingIntent_Handler", ApiSince=35)]
public virtual void SetOnStylusHandwritingPendingIntent(int viewId, Android.App.PendingIntent? pendingIntent);
[<Android.Runtime.Register("setOnStylusHandwritingPendingIntent", "(ILandroid/app/PendingIntent;)V", "GetSetOnStylusHandwritingPendingIntent_ILandroid_app_PendingIntent_Handler", ApiSince=35)>]
abstract member SetOnStylusHandwritingPendingIntent : int * Android.App.PendingIntent -> unit
override this.SetOnStylusHandwritingPendingIntent : int * Android.App.PendingIntent -> unit

Parameters

viewId
Int32

int : identifier of the view that will trigger the PendingIntent when a stylus MotionEvent occurs within the view's bounds

pendingIntent
PendingIntent

PendingIntent : the PendingIntent to send, or null to clear the handwriting delegation

Attributes

Remarks

Java documentation for RemoteViews.

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