-
public final class DestinationScopeKt
-
-
Method Summary
Modifier and Type Method Description final static <R extends Any> ResultBackNavigator<R>resultBackNavigator(DestinationScopeWithNoDependencies<?> $self, DestinationsNavType<in R> resultNavType)Returns a well typed ResultBackNavigator for this DestinationScopeWhen calling this directly (usually when using manually calling your destination Composables), you can go into the corresponding generated Destination and check what DestinationsNavType is passed in to the corresponding Composable ResultBackNavigator parameter. final static <D extends TypedDestinationSpec<?>, R extends Any> ResultRecipient<D, R>resultRecipient(DestinationScopeWithNoDependencies<?> $self, DestinationsNavType<in R> resultNavType)Returns a well typed ResultRecipient for this DestinationScopeWhen calling this directly (usually when using manually calling your destination Composables), you can go into the corresponding generated Destination and check what DestinationsNavType is passed in to the corresponding Composable ResultBackNavigator parameter. final static <D extends TypedDestinationSpec<?>, R extends Any, T extends R> UnitAny()final static <R extends Any, T extends R> UnitAny()final static Unit()><no name provided>()-
-
Method Detail
-
resultBackNavigator
@Composable() final static <R extends Any> ResultBackNavigator<R> resultBackNavigator(DestinationScopeWithNoDependencies<?> $self, DestinationsNavType<in R> resultNavType)
Returns a well typed ResultBackNavigator for this DestinationScope
When calling this directly (usually when using manually calling your destination Composables), you can go into the corresponding generated Destination and check what DestinationsNavType is passed in to the corresponding Composable ResultBackNavigator parameter.
- Parameters:
resultNavType- DestinationsNavType for the R type, which will handle serialization of the result.
-
resultRecipient
@Composable() final static <D extends TypedDestinationSpec<?>, R extends Any> ResultRecipient<D, R> resultRecipient(DestinationScopeWithNoDependencies<?> $self, DestinationsNavType<in R> resultNavType)
Returns a well typed ResultRecipient for this DestinationScope
When calling this directly (usually when using manually calling your destination Composables), you can go into the corresponding generated Destination and check what DestinationsNavType is passed in to the corresponding Composable ResultBackNavigator parameter.
- Parameters:
resultNavType- DestinationsNavType for the R type, which will handle serialization of the result.
-
Any
@Deprecated(level = DeprecationLevel.ERROR, message = Use the `resultRecipient` version that takes in a `DestinationsNavType` parameter! Example: for Boolean results, it's `booleanNavType`, for custom types it's `customTypeClassNameNavType`.)@Composable() final static <D extends TypedDestinationSpec<?>, R extends Any, T extends R> Unit Any()
-
Any
@Deprecated(level = DeprecationLevel.ERROR, message = Use the `resultBackNavigator` version that takes in a `DestinationsNavType` parameter! Example: for Boolean results, it's `booleanNavType`, for custom types it's `customTypeClassNameNavType`.)@Composable() final static <R extends Any, T extends R> Unit Any()
-
<no name provided>
final static Unit ()><no name provided>()
-
-
-
-