Destination
open class Destination : NavDestination
kotlin.Any | ||
↳ | androidx.navigation.NavDestination | |
↳ | androidx.navigation.ActivityNavigator.Destination |
NavDestination for activity navigation
Summary
Public constructors | |
---|---|
<init>(@NonNull : NavigatorProvider) Construct a new activity destination. |
|
<init>(@NonNull : Navigator<out ActivityNavigator.Destination!>) Construct a new activity destination. |
Public methods | |
---|---|
String? |
Get the action used to start the Activity, if any |
ComponentName? |
Get the explicit |
Uri? |
getData() Get the data URI used to start the Activity, if any |
String? |
Gets the dynamic data URI pattern, if any |
Intent? |
Gets the Intent associated with this destination. |
String? |
Get the explicit application package name associated with this destination, if any |
open Unit |
onInflate(@NonNull : Context, @NonNull : AttributeSet) |
ActivityNavigator.Destination |
Sets the action sent when navigating to this destination. |
ActivityNavigator.Destination |
setComponentName(@Nullable : ComponentName?) Set an explicit |
ActivityNavigator.Destination |
Sets a static data URI that is sent when navigating to this destination. |
ActivityNavigator.Destination |
setDataPattern(@Nullable : String?) Sets a dynamic data URI pattern that is sent when navigating to this destination. |
ActivityNavigator.Destination |
Set the Intent to start when navigating to this destination. |
ActivityNavigator.Destination |
setTargetPackage(@Nullable : String?) Set an explicit application package name that limits the components this destination will navigate to. |
open String |
toString() |
Inherited functions | |
---|---|