DynamicLink.ItunesConnectAnalyticsParameters.Builder

class DynamicLink.ItunesConnectAnalyticsParameters.Builder


Builder for iTunes Connect App Analytics parameters.

Summary

Public constructors

This function is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

Public functions

DynamicLink.ItunesConnectAnalyticsParameters

This function is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

String

This function is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

String

This function is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

String

This function is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

DynamicLink.ItunesConnectAnalyticsParameters.Builder
setAffiliateToken(affiliateToken: String)

This function is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

DynamicLink.ItunesConnectAnalyticsParameters.Builder
setCampaignToken(campaignToken: String)

This function is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

DynamicLink.ItunesConnectAnalyticsParameters.Builder
setProviderToken(providerToken: String)

This function is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

Public constructors

Builder

Builder()

Create iTunes Connect App Analytics parameter builder.

Public functions

build

fun build(): DynamicLink.ItunesConnectAnalyticsParameters

Build ItunesConnectAnalyticsParameters for use with setItunesConnectAnalyticsParameters.

getAffiliateToken

fun getAffiliateToken(): String

Returns the affiliate token.

Returns
String

the affiliate token.

getCampaignToken

fun getCampaignToken(): String

Returns the campaign token.

Returns
String

the campaign token.

getProviderToken

fun getProviderToken(): String

Returns the provider token.

Returns
String

the provider token.

setAffiliateToken

fun setAffiliateToken(affiliateToken: String): DynamicLink.ItunesConnectAnalyticsParameters.Builder

Sets the affiliate token.

Parameters
affiliateToken: String

The affiliate token used to create affiliate-coded links.

setCampaignToken

fun setCampaignToken(campaignToken: String): DynamicLink.ItunesConnectAnalyticsParameters.Builder

Sets the campaign token.

Parameters
campaignToken: String

The campaign token that developers can add to any link in order to track sales from a specific marketing campaign.

setProviderToken

fun setProviderToken(providerToken: String): DynamicLink.ItunesConnectAnalyticsParameters.Builder

Sets the provider token.

Parameters
providerToken: String

The provider token that enables analytics for Dynamic Links from within iTunes Connect.