public final class AppLinks
extends java.lang.Object
Constructor and Description |
---|
AppLinks() |
Modifier and Type | Method and Description |
---|---|
static android.os.Bundle |
getAppLinkData(android.content.Intent intent)
Gets the App Link data for an intent, if there is any.
|
static android.os.Bundle |
getAppLinkExtras(android.content.Intent intent)
Gets the App Link extras for an intent, if there is any.
|
static android.net.Uri |
getTargetUrl(android.content.Intent intent)
Gets the target URL for an intent, regardless of whether the intent is from an App Link.
|
static android.net.Uri |
getTargetUrlFromInboundIntent(android.content.Context context,
android.content.Intent intent)
Gets the target URL for an intent.
|
public static android.os.Bundle getAppLinkData(android.content.Intent intent)
intent
- the incoming intent.null
if none
is specified.public static android.os.Bundle getAppLinkExtras(android.content.Intent intent)
intent
- the incoming intent.null
if none is
specified.public static android.net.Uri getTargetUrl(android.content.Intent intent)
intent
- the incoming intent.public static android.net.Uri getTargetUrlFromInboundIntent(android.content.Context context, android.content.Intent intent)
context
- the context this function is called within.intent
- the incoming intent.