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 |
Public methods | |
---|---|
open String? |
Get the action from the NavDeepLinkRequest. |
open String? |
Get the mimeType from the NavDeepLinkRequest. |
open Uri? |
getUri() Get the uri from the NavDeepLinkRequest. |
open String |
toString() |
Public methods
getAction
@Nullable open fun getAction(): String?
Get the action from the NavDeepLinkRequest.
Return | |
---|---|
String? |
the action for the request. |
See Also
getMimeType
@Nullable open fun getMimeType(): String?
Get the mimeType from the NavDeepLinkRequest.
Return | |
---|---|
String? |
the mimeType of the request. |
See Also
getUri
@Nullable open fun getUri(): Uri?
Get the uri from the NavDeepLinkRequest.
Return | |
---|---|
Uri? |
the uri for the request. |
See Also
toString
@NonNull open fun toString(): String