Język

ExecuteAppFunctionRequest.Builder.SetAttribution Method

Definition

Sets the AppInteractionAttribution.

[Android.Runtime.Register("setAttribution", "(Landroid/app/AppInteractionAttribution;)Landroid/app/appfunctions/ExecuteAppFunctionRequest$Builder;", "", ApiSince=37)]
public Android.App.AppFunctions.ExecuteAppFunctionRequest.Builder SetAttribution(Android.App.AppInteractionAttribution attribution);
[<Android.Runtime.Register("setAttribution", "(Landroid/app/AppInteractionAttribution;)Landroid/app/appfunctions/ExecuteAppFunctionRequest$Builder;", "", ApiSince=37)>]
member this.SetAttribution : Android.App.AppInteractionAttribution -> Android.App.AppFunctions.ExecuteAppFunctionRequest.Builder

Parameters

attribution
AppInteractionAttribution

The attribution for this request. This value cannot be null.

Returns

Attributes

Remarks

Sets the AppInteractionAttribution.

This information can be used by the privacy setting to provide transparency to the user about why an app function was invoked.

This is currently optional, but may become required for apps targeting a future release.

Android reference for android.app.appfunctions.ExecuteAppFunctionRequest.Builder.setAttribution.

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