-
public class AppLinksProvides a set of utility methods for working with incoming Intents that may contain App Link data.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringKEY_NAME_APPLINK_DATAprivate final StringKEY_NAME_EXTRASpublic final static AppLinksINSTANCE
-
Method Summary
Modifier and Type Method Description 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()-
-
Method Detail
-
getAppLinkData
final 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.
-
getAppLinkExtras
final static Bundle getAppLinkExtras(Intent intent)
Gets the App Link extras for an intent, if there is any.
- Parameters:
intent- the incoming intent.
-
getKEY_NAME_APPLINK_DATA
final String getKEY_NAME_APPLINK_DATA()
-
getKEY_NAME_EXTRAS
final String getKEY_NAME_EXTRAS()
-
-
-
-