Språk

UnderstandResult.Builder.SetFeedbackActivity(PendingIntent) Method

Definition

Assigns the feedback activity intent to the result being built.

[Android.Runtime.Register("setFeedbackActivity", "(Landroid/app/PendingIntent;)Landroid/service/personalcontext/understander/UnderstandResult$Builder;", "", ApiSince=37)]
public Android.Service.PersonalContext.Understander.UnderstandResult.Builder SetFeedbackActivity(Android.App.PendingIntent? feedbackActivity);
[<Android.Runtime.Register("setFeedbackActivity", "(Landroid/app/PendingIntent;)Landroid/service/personalcontext/understander/UnderstandResult$Builder;", "", ApiSince=37)>]
member this.SetFeedbackActivity : Android.App.PendingIntent -> Android.Service.PersonalContext.Understander.UnderstandResult.Builder

Parameters

feedbackActivity
PendingIntent

The pending intent for feedback on this request's insights or visualizations, or null to leave no feedback activity.

Returns

This builder, with the feedback activity value updated.

Attributes

Remarks

The setter replaces the stored pending intent and accepts null. Calling it does not launch the activity.

Applies to