Google is committed to advancing racial equity for Black communities. See how.

NavDeepLinkRequest

open class NavDeepLinkRequest
kotlin.Any
   ↳ androidx.navigation.NavDeepLinkRequest

A request for a deep link in a NavDestination. NavDeepLinkRequest are used to check if a NavDeepLink exists for a NavDestination and to navigate to a NavDestination with a matching NavDeepLink.

Summary

Nested classes

A builder for constructing NavDeepLinkRequest instances.

Public methods

open String?

Get the action from the NavDeepLinkRequest.

open String?

Get the mimeType from the NavDeepLinkRequest.

open Uri?

Get the uri from the NavDeepLinkRequest.

open String

Public methods

getAction

@Nullable open fun getAction(): String?

Get the action from the NavDeepLinkRequest.

Return
String? the action for the request.

getMimeType

@Nullable open fun getMimeType(): String?

Get the mimeType from the NavDeepLinkRequest.

Return
String? the mimeType of the request.

getUri

@Nullable open fun getUri(): Uri?

Get the uri from the NavDeepLinkRequest.

Return
Uri? the uri for the request.

toString

@NonNull open fun toString(): String