androidx.navigation3.runtime.deeplink

Classes

DeepLinkMatcher

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

Cmn
DeepLinkMatcher.Filter

A filter for a deep link, such as a mimeType.

Cmn
DeepLinkMatcher.MatchResult

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

Cmn
DeepLinkRequest

Represents a requested deep link.

Cmn
DeepLinkUri

see android.net.Uri

Cmn
android
StaticKeyDeepLinkMatcher

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

Cmn
UriDeepLinkMatcher

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

Cmn
UriMatchResult

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

Cmn

Objects

Type aliases

Top-level functions summary

DeepLinkUri
DeepLinkUri(uriString: String)

Creates a DeepLinkUri which parses the given encoded URI string.

Cmn

Extension functions summary

Top-level functions

fun DeepLinkUri(uriString: String): DeepLinkUri

Creates a DeepLinkUri which parses the given encoded URI string.

Parameters
uriString: String

an RFC 2396-compliant, encoded URI

Returns
DeepLinkUri

NavUri for this given uri string

Extension functions

DeepLinkRequest.Companion.fromIntent

fun DeepLinkRequest.Companion.fromIntent(intent: Intent): DeepLinkRequest

Creates a DeepLinkRequest with an Intent.

Parameters
intent: Intent

The Intent with the metadata to add to the DeepLinkRequest

Returns
DeepLinkRequest

a DeepLinkRequest instance