Known direct subclasses
BackStackMatchResult

Result returned when a BackStackMatcher successfully matches a DeepLinkRequest.


A DeepLinkMatcher.MatchResult implementation that wraps another MatchResult.

This class can be used to create a MatchResult layered on top of another MatchResult without making changes to the wrapped one.

T The type of the navigation key associated with this result.

Summary

Public constructors

Cmn

Public functions

open operator Int

Compares this WrappedMatchResult to other and returns an Int result.

Cmn

Inherited properties

From androidx.navigation3.runtime.deeplink.DeepLinkMatcher.MatchResult
T

the navigation key representing the deep link target

Cmn

Public constructors

WrappedMatchResult

<T : Any> WrappedMatchResult(matchResult: DeepLinkMatcher.MatchResult<T>)
Parameters
matchResult: DeepLinkMatcher.MatchResult<T>

the DeepLinkMatcher.MatchResult to wrap

Public functions

compareTo

open operator fun compareTo(other: DeepLinkMatcher.MatchResult<T>): Int

Compares this WrappedMatchResult to other and returns an Int result.

If other is also a WrappedMatchResult, compares this matchResult with other.matchResult. Otherwise, compares this matchResult with other directly.

Returns zero if this result is equal to the other result, a negative number if it's less, and a positive number if it's greater.

Parameters
other: DeepLinkMatcher.MatchResult<T>

the DeepLinkMatcher.MatchResult to compare with

Public properties

matchResult

val matchResultDeepLinkMatcher.MatchResult<T>

the DeepLinkMatcher.MatchResult to wrap