DeepLink
Overview
Public class that holds the deep link data.
Go back to the SDK reference index.
Methods
getDeepLinkValue
public String getDeepLinkValue()
Returns
| Type | Description |
|---|---|
String | Deep link value from the OneLink URL. |
getClickHttpReferrer
public String getClickHttpReferrer()
Returns
| Type | Description |
|---|---|
String | The 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
| Type | Description |
|---|---|
String | In the near future, this will return null, due to UDL privacy protections. Media source from the OneLink URL. |
getCampaign
public String getCampaign()
Returns
| Type | Description |
|---|---|
String | In the near future, this will return null, due to UDL privacy protections. Campaign from the OneLink URL. |
getCampaignId
public String getCampaignId()
Returns
| Type | Description |
|---|---|
String | In the near future, this will return null, due to UDL privacy protections. Campaign ID from the OneLink URL. |
getAfSub1
public String getAFSub1()
Returns
| Type | Description |
|---|---|
String | In the near future, this will return null, due to UDL privacy protections. Predefined parameter carried in the OneLink URL. |
getAfSub2
public String getAFSub2()
Returns
| Type | Description |
|---|---|
String | In the near future, this will return null, due to UDL privacy protections. Predefined parameter carried in the OneLink URL. |
getAfSub3
public String getAFSub3()
Returns
| Type | Description |
|---|---|
String | In the near future, this will return null, due to UDL privacy protections. Predefined parameter carried in the OneLink URL. |
getAfSub4
public String getAFSub4()
Returns
| Type | Description |
|---|---|
String | In the near future, this will return null, due to UDL privacy protections. Predefined parameter carried in the OneLink URL. |
getAfSub5
public String getAFSub5()
Returns
| Type | Description |
|---|---|
String | In 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
| Type | Description |
|---|---|
| JSON object | A JSON that holds all of the OneLink data of this link. |
getMatchType
public String getMatchType()
Returns
| Type | Description |
|---|---|
String | Attribution method used to match this click. Possible values include:
Returned only in deferred deep linking scenarios. |
getStringValue
public String getStringValue(String keyName)
Returns
| Type | Description |
|---|---|
String | The value of a key in the OneLink click event JSON. |
isDeferred
public Boolean isDeferred()
Returns
| Type | Description |
|---|---|
Boolean | Determines whether this UDL call for the first launch of the app was in a deferred deep link flow. |
Updated about 2 years ago