Langue

AppInteractionAttribution.Builder.SetCustomInteractionType(String) Method

Definition

Sets the custom interaction type to describe the interaction.

[Android.Runtime.Register("setCustomInteractionType", "(Ljava/lang/String;)Landroid/app/AppInteractionAttribution$Builder;", "", ApiSince=37)]
public Android.App.AppInteractionAttribution.Builder SetCustomInteractionType(string customInteractionType);
[<Android.Runtime.Register("setCustomInteractionType", "(Ljava/lang/String;)Landroid/app/AppInteractionAttribution$Builder;", "", ApiSince=37)>]
member this.SetCustomInteractionType : string -> Android.App.AppInteractionAttribution.Builder

Parameters

customInteractionType
String

Returns

Attributes

Remarks

Sets the custom interaction type to describe the interaction.

This method must be called if and only if the interactionType provided to the constructor was AppInteractionAttribution.INTERACTION_TYPE_OTHER. The caller should define a set of string constants for these custom interaction types and set them here accordingly.

Android reference for android.app.AppInteractionAttribution.Builder.setCustomInteractionType.

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