Android SDK Version


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

getAppLinkData

 final static BundlegetAppLinkData(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.

getAppLinkExtras

 final static BundlegetAppLinkExtras(Intent intent)
Gets the App Link extras for an intent, if there is any.
Parameters:
intent - the incoming intent.

getKEY_NAME_APPLINK_DATA

 final StringgetKEY_NAME_APPLINK_DATA()

getKEY_NAME_EXTRAS

 final StringgetKEY_NAME_EXTRAS()