Język

VisualizerViewAction.Builder.SetAttributionInsight(ContextInsight) Method

Definition

Selects attribution for an insight as the view action.

[Android.Runtime.Register("setAttributionInsight", "(Landroid/service/personalcontext/insight/ContextInsight;)Landroid/service/personalcontext/embedded/VisualizerViewAction$Builder;", "", ApiSince=37)]
public Android.Service.PersonalContext.Embedded.VisualizerViewAction.Builder SetAttributionInsight(Android.Service.PersonalContext.Insight.ContextInsight insight);
[<Android.Runtime.Register("setAttributionInsight", "(Landroid/service/personalcontext/insight/ContextInsight;)Landroid/service/personalcontext/embedded/VisualizerViewAction$Builder;", "", ApiSince=37)>]
member this.SetAttributionInsight : Android.Service.PersonalContext.Insight.ContextInsight -> Android.Service.PersonalContext.Embedded.VisualizerViewAction.Builder

Parameters

insight
ContextInsight

The non-null insight to use for the attribution request.

Returns

This builder, so that the session-closure setting can also be configured.

Attributes

Remarks

The action requests attribution when the view is activated. If an insight-delivery, attribution, or feedback action was already selected on this builder, this method throws IllegalStateException.

Applies to