Package-level declarations

Types

Link copied to clipboard
abstract class DeepLinkMatcher<T : Any>(filters: List<DeepLinkMatcher.Filter<*>> = emptyList())

Encompasses the logic to match a navigation key of type T against a DeepLinkRequest.

Link copied to clipboard

Represents a requested deep link.

Link copied to clipboard
actual typealias DeepLinkUri = Uri
typealias DeepLinkUri = Uri
expect abstract class DeepLinkUri
actual abstract class DeepLinkUri
actual abstract class DeepLinkUri
actual abstract class DeepLinkUri
actual abstract class DeepLinkUri
Link copied to clipboard

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

Link copied to clipboard
open class UriDeepLinkMatcher<T : Any>(uriPattern: DeepLinkUri, serializer: KSerializer<T>, filters: List<DeepLinkMatcher.Filter<Any>> = emptyList()) : DeepLinkMatcher<T>

Represents a deep link that can be deep linked into when matched with a DeepLinkRequest

Link copied to clipboard
open class UriMatchResult<T : Any>(key: T, val arguments: Map<String, List<String>>) : DeepLinkMatcher.MatchResult<T>

The class that is returned when a UriDeepLinkMatcher matches with a DeepLinkRequest

Functions

Link copied to clipboard
fun DeepLinkUri(uriString: String): DeepLinkUri

Creates a DeepLinkUri which parses the given encoded URI string.

Link copied to clipboard