Android SDK Version
  • java.lang.Object
    • com.facebook.bolts.AppLinks

public final class AppLinks
extends java.lang.Object
Provides a set of utility methods for working with incoming Intents that may contain App Link data.
Constructor Summary
Constructor and Description
AppLinks() 
Method Summary
Modifier and TypeMethod and Description
static BundlegetAppLinkData(Intent intent)
Gets the App Link data for an intent, if there is any.
static BundlegetAppLinkExtras(Intent intent)
Gets the App Link extras for an intent, if there is any.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

AppLinks

public AppLinks()
Method Detail

getAppLinkData

public static Bundle getAppLinkData(Intent intent)
Gets the App Link data for an intent, if there is any. This is the authorized function to check if an intent is AppLink. If null is returned it is not.
Parameters:
intent - the incoming intent.
Returns:
a bundle containing the App Link data for the intent, or null if none is specified.

getAppLinkExtras

public static Bundle getAppLinkExtras(Intent intent)
Gets the App Link extras for an intent, if there is any.
Parameters:
intent - the incoming intent.
Returns:
a bundle containing the App Link extras for the intent, or null if none is specified.