NamedNavArgument

public final class NamedNavArgument


Construct a named NavArgument by using the navArgument method.

Summary

Public methods

final @NonNull String

Provides destructuring access to this NamedNavArgument's name

final @NonNull NavArgument

Provides destructuring access to this NamedNavArgument's argument

final @NonNull NavArgument

The NavArgument associated with the name

final @NonNull String

The name the argument is associated with

Public methods

component1

Added in 2.4.0
public final @NonNull String component1()

Provides destructuring access to this NamedNavArgument's name

component2

Added in 2.4.0
public final @NonNull NavArgument component2()

Provides destructuring access to this NamedNavArgument's argument

getArgument

Added in 2.4.0
public final @NonNull NavArgument getArgument()

The NavArgument associated with the name

getName

Added in 2.4.0
public final @NonNull String getName()

The name the argument is associated with