public class DeepLinkReceived extends AbstractSelfDescribing
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_REFERRER |
static String |
PARAM_URL |
String |
referrer
Referrer URL, source of this deep-link.
|
static String |
SCHEMA |
String |
url
URL in the received deep-link.
|
customContexts, trueTimestamp| Constructor and Description |
|---|
DeepLinkReceived(String url)
Creates a deep-link received event.
|
| Modifier and Type | Method and Description |
|---|---|
static DeepLinkReceived |
fromIntent(Intent intent)
Convenient factory method that generates the event from the Intent received by the Activity.
|
static DeepLinkReceived |
fromReferrerDetails(com.android.installreferrer.api.ReferrerDetails referrerDetails)
Convenient factory method that generates the event from the ReferrerDetails generated by
the Install Referrer Library.
|
Map<String,Object> |
getDataPayload() |
String |
getSchema() |
DeepLinkReceived |
referrer(String referrer)
Referrer URL, source of this deep-link.
|
beginProcessing, contexts, endProcessing, getContexts, getTrueTimestamp, trueTimestamppublic static final String SCHEMA
public static final String PARAM_REFERRER
public static final String PARAM_URL
@Nullable public String referrer
@NonNull public final String url
public DeepLinkReceived(@NonNull
String url)
url - URL in the received deep-link.@Nullable public static DeepLinkReceived fromIntent(@Nullable Intent intent)
intent - Intent received by the Activity.@Nullable public static DeepLinkReceived fromReferrerDetails(@Nullable com.android.installreferrer.api.ReferrerDetails referrerDetails)
referrerDetails - Details received by the InstallReferrer.@NonNull public DeepLinkReceived referrer(@Nullable String referrer)
@NonNull public String getSchema()
getSchema in class AbstractSelfDescribing