IBrazeDeeplinkHandler

This class defines the actions that should be taken when Braze attempts to follow a deeplink.

Types

Functions

Link copied to clipboard
abstract fun createUriActionFromUri(uri: Uri, extras: Bundle?, openInWebView: Boolean, channel: Channel): UriAction

Convenience method for creating UriAction instances.

Link copied to clipboard
abstract fun createUriActionFromUrlString(url: String, extras: Bundle?, openInWebView: Boolean, channel: Channel): UriAction?

Convenience method for creating UriAction instances. Returns null if the supplied url is blank or can not be parsed into a valid Uri.

Link copied to clipboard

Get the flag mask used for android.content.Intent.setFlags based on the Intent usage.

Link copied to clipboard
abstract fun gotoNewsFeed(context: Context, newsfeedAction: NewsfeedAction)

This delegate method will be called when Braze wants to display the news feed.

Link copied to clipboard
abstract fun gotoUri(context: Context, uriAction: UriAction)

This delegate method will be called when Braze wants to navigate to a particular URI. If an IBrazeDeeplinkHandler is set, this method will be called instead of the default method (which is defined in BrazeDeeplinkHandler.

Inheritors

Link copied to clipboard