DynamicLink.NavigationInfoParameters.Builder

public final class DynamicLink.NavigationInfoParameters.Builder


Builder for navigation info parameters.

Summary

Public constructors

This method is deprecated.

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

Public methods

@NonNull DynamicLink.NavigationInfoParameters

This method is deprecated.

boolean
@NonNull DynamicLink.NavigationInfoParameters.Builder
setForcedRedirectEnabled(boolean forcedRedirectEnabled)

This method is deprecated.

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

Public constructors

Builder

public Builder()

Create navigation info parameter builder.

Public methods

build

public @NonNull DynamicLink.NavigationInfoParameters build()

Build NavigationInfoParameters for use with setNavigationInfoParameters.

getForcedRedirectEnabled

public boolean getForcedRedirectEnabled()

setForcedRedirectEnabled

public @NonNull DynamicLink.NavigationInfoParameters.Builder setForcedRedirectEnabled(boolean forcedRedirectEnabled)

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

Parameters
boolean forcedRedirectEnabled

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.