Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

Extras

class Extras : Navigator.Extras
kotlin.Any
   ↳ androidx.navigation.ActivityNavigator.Extras

Extras that can be passed to ActivityNavigator to customize what ActivityOptionsCompat and flags are passed through to the call to ActivityCompat#startActivity(Context, Intent, Bundle).

Summary

Nested classes

Builder for constructing new Extras instances.

Public methods
ActivityOptionsCompat?

Gets the ActivityOptionsCompat that should be used with ActivityCompat#startActivity(Context, Intent, Bundle).

Int

Gets the Intent.FLAG_ACTIVITY_ flags that should be added to the Intent.

Public methods

getActivityOptions

@Nullable fun getActivityOptions(): ActivityOptionsCompat?

Gets the ActivityOptionsCompat that should be used with ActivityCompat#startActivity(Context, Intent, Bundle).

getFlags

fun getFlags(): Int

Gets the Intent.FLAG_ACTIVITY_ flags that should be added to the Intent.