DynamicLink.NavigationInfoParameters.Builder

class DynamicLink.NavigationInfoParameters.Builder


Builder for navigation info parameters.

Summary

Public constructors

This function is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

Public functions

DynamicLink.NavigationInfoParameters

This function is deprecated.

Boolean
DynamicLink.NavigationInfoParameters.Builder
setForcedRedirectEnabled(forcedRedirectEnabled: Boolean)

This function is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

Public constructors

Builder

Builder()

Create navigation info parameter builder.

Public functions

build

fun build(): DynamicLink.NavigationInfoParameters

Build NavigationInfoParameters for use with setNavigationInfoParameters.

getForcedRedirectEnabled

fun getForcedRedirectEnabled(): Boolean

setForcedRedirectEnabled

fun setForcedRedirectEnabled(forcedRedirectEnabled: Boolean): DynamicLink.NavigationInfoParameters.Builder

Sets whether to enable force redirecting or going to the app preview page. Defaults to false.

Parameters
forcedRedirectEnabled: Boolean

If true, app preview page will be disabled and there will be a redirect to the FDL. If false, go to the app preview page.