BrazeDeeplinkHandler

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Functions

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

Convenience method for creating UriAction instances.

Link copied to clipboard
open override 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
open override fun getIntentFlags(intentFlagPurpose: IBrazeDeeplinkHandler.IntentFlagPurpose): Int

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

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

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

Link copied to clipboard
open override 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.