DynamicLink.NavigationInfoParameters.Builder

public final class DynamicLink.NavigationInfoParameters.Builder


Builder for navigation info parameters.

Summary

Public constructors

Create navigation info parameter builder.

Public methods

@NonNull DynamicLink.NavigationInfoParameters

Build NavigationInfoParameters for use with setNavigationInfoParameters.

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

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

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.