Skip to main content
Version: SDK 5.0.x

Interface RetargetingParameters

If the app was started as part of a retargeting campaign (either the first app open after it was installed again for that campaign or because it was launched from a retargeting intent link.

public interface RetargetingParameters

All Known Subinterfaces

PreliminaryRetargetingParameters

Methods

getParameters

@NonNull
Map<String,String> getParameters()

Get a read-only map of parameters attached to the retargeting click which caused the app to get launched.

Returns

A read-only map of parameters from the retargeting click.

getPromotionParameter

@Nullable
String getPromotionParameter()

Get the promo_code parameter from the parameter map.

null if the parameter is not set or empty.

Returns

The promo_code parameter from the parameter map.

getUri

@Nullable
android.net.Uri getUri()

Get the URI of the retargeting click which triggered the app to get launched.

null if the click does not contain a valid URI.

Returns

The URI of the retargeting click.

wasAlreadyInstalled

boolean wasAlreadyInstalled()

Was the app already installed when the user performed the click?

Returns

True if the app was already installed.