StaticKeyDeepLinkMatcher


A DeepLinkMatcher that matches based on a list of Filter and if all filters match, returns the input key in the MatchResult.

T The Type of the navigation key associated with this deep link matcher.

Summary

Public constructors

<T : Any> StaticKeyDeepLinkMatcher(
    key: T,
    filters: List<DeepLinkMatcher.Filter<Any>>
)
Cmn

Protected functions

open DeepLinkMatcher.MatchResult<T>

Returns a MatchResult containing the key if all filters match the DeepLinkRequest.

Cmn

Public properties

T

the navigation key associated with this deep link matcher

Cmn

Public constructors

StaticKeyDeepLinkMatcher

<T : Any> StaticKeyDeepLinkMatcher(
    key: T,
    filters: List<DeepLinkMatcher.Filter<Any>>
)
Parameters
key: T

the navigation key associated with this deep link matcher

filters: List<DeepLinkMatcher.Filter<Any>>

the list of Filter to match with the DeepLinkRequest

Protected functions

matchRequest

protected open fun matchRequest(request: DeepLinkRequest): DeepLinkMatcher.MatchResult<T>

Returns a MatchResult containing the key if all filters match the DeepLinkRequest.

Public properties

key

val key: T

the navigation key associated with this deep link matcher