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 |
Public methods | |
---|---|
ActivityOptionsCompat? |
Gets the |
Int |
getFlags() Gets the |
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.