DynamicActivityNavigator.Destination

public final class DynamicActivityNavigator.Destination extends NavDestination, ActivityNavigator.Destination


Destination for DynamicActivityNavigator.

Summary

Public fields

final @Nullable String

The module name of this Destination's dynamic feature module.

Public constructors

Create a new Destination with a NavigatorProvider.

Create a new Destination with an ActivityNavigator.Destination.

Public methods

boolean
int
void

Called when inflating a destination from a resource.

Inherited methods

From class ActivityNavigator.Destination
final @NonNull ActivityNavigator.Destination

Sets the action sent when navigating to this destination.

final @NonNull ActivityNavigator.Destination

Set an explicit ComponentName to navigate to.

final @NonNull ActivityNavigator.Destination

Sets a static data URI that is sent when navigating to this destination.

final @NonNull ActivityNavigator.Destination

Sets a dynamic data URI pattern that is sent when navigating to this destination.

final @NonNull ActivityNavigator.Destination

Set the Intent to start when navigating to this destination.

final @NonNull ActivityNavigator.Destination

Set an explicit application package name that limits the components this destination will navigate to.

@NonNull String
From class NavDestination
final void
addArgument(@NonNull String argumentName, @NonNull NavArgument argument)

Sets an argument type for an argument name

final void

Add a deep link to this destination.

final void
addDeepLink(@NonNull String uriPattern)

Add a deep link to this destination.

final @Nullable NavAction
getAction(@IdRes int id)

Returns the NavAction for the given action ID.

boolean
hasDeepLink(@NonNull Uri deepLink)

Checks the given deep link Uri, and determines whether it matches a Uri pattern added to the destination by a call to addDeepLink .

boolean

Checks the given NavDeepLinkRequest, and determines whether it matches a NavDeepLink added to the destination by a call to addDeepLink.

final void
putAction(@IdRes int actionId, @NonNull NavAction action)

Sets the NavAction destination for an action ID.

final void
putAction(@IdRes int actionId, @