public static interface

Button.DeepLinkListener

com.usebutton.sdk.Button.DeepLinkListener

Class Overview

Callback interface for checkForDeepLink(Context, DeepLinkListener) which will invoke onDeepLink(Intent) with a VIEW intent for a deferred deep link if such is found. This will only happen once and after a new installation, for all other scenarios onNoDeepLink() will called.

Summary

Public Methods
abstract void onDeepLink(Intent deepLinkIntent)
Called if this is the application's first launch and a deferred deep link is available from Button.
abstract void onNoDeepLink()

Public Methods

public abstract void onDeepLink (Intent deepLinkIntent)

Called if this is the application's first launch and a deferred deep link is available from Button. In all other cases, #onNoDeepLink is called instead. Implementations should call startActivity(Intent) to continue. The pending deep link can be retrieved with getData() in the target Activity's onCreate(Bundle).

public abstract void onNoDeepLink ()