Overview

Public class that holds the deep link data.

Go back to the SDK reference index.

Methods

getDeepLinkValue

public String getDeepLinkValue()

Returns

TypeDescription
StringDeep link value from the OneLink URL.

getClickHttpReferrer

public String getClickHttpReferrer()

Returns

TypeDescription
StringThe HTTP referrer from the OneLink URL identifies the address of the web page that linked to the AppsFlyer click URL. By checking the referrer, you can see where the request originated.

getMediaSource

public String getMediaSource()

Returns

TypeDescription
StringIn the near future, this will return null, due to UDL privacy protections.
Media source from the OneLink URL.

getCampaign

public String getCampaign()

Returns

TypeDescription
StringIn the near future, this will return null, due to UDL privacy protections.
Campaign from the OneLink URL.

getCampaignId

public String getCampaignId()

Returns

TypeDescription
StringIn the near future, this will return null, due to UDL privacy protections.
Campaign ID from the OneLink URL.

getAfSub1

public String getAFSub1()

Returns

TypeDescription
StringIn the near future, this will return null, due to UDL privacy protections.
Predefined parameter carried in the OneLink URL.

getAfSub2

public String getAFSub2()

Returns

TypeDescription
StringIn the near future, this will return null, due to UDL privacy protections.
Predefined parameter carried in the OneLink URL.

getAfSub3

public String getAFSub3()

Returns

TypeDescription
StringIn the near future, this will return null, due to UDL privacy protections.
Predefined parameter carried in the OneLink URL.

getAfSub4

public String getAFSub4()

Returns

TypeDescription
StringIn the near future, this will return null, due to UDL privacy protections.
Predefined parameter carried in the OneLink URL.

getAfSub5

public String getAFSub5()

Returns

TypeDescription
StringIn the near future, this will return null, due to UDL privacy protections.
Predefined parameter carried in the OneLink URL.

getClickEvent

public JSONObject getClickEvent()

Note: The values in the clickEvent can be directly retrieved using getStringValue().

Returns

TypeDescription
JSON objectA JSON that holds all of the OneLink data of this link.

getMatchType

public String getMatchType()

Returns

TypeDescription
StringAttribution method used to match this click.

Possible values include:
  • referrer (Google Play referrer string)
  • id_matching
  • probabilistic
  • srn (self-reporting network)

Returned only in deferred deep linking scenarios.

getStringValue

public String getStringValue(String keyName)

Returns

TypeDescription
StringThe value of a key in the OneLink click event JSON.

isDeferred

public Boolean isDeferred()

Returns

TypeDescription
BooleanDetermines whether this UDL call for the first launch of the app was in a deferred deep link flow.