NavDeepLink
public
final
class
NavDeepLink
extends Object
java.lang.Object | |
↳ | androidx.navigation.NavDeepLink |
NavDeepLink encapsulates the parsing and matching of a navigation deep link.
This should be added to a NavDestination
using
NavDestination.addDeepLink(NavDeepLink)
.
Summary
Nested classes | |
---|---|
class |
NavDeepLink.Builder
A builder for constructing |
Public methods | |
---|---|
String
|
getAction()
Get the action from the NavDeepLink. |
String
|
getMimeType()
Get the mimeType from the NavDeepLink. |
String
|
getUriPattern()
Get the uri pattern from the NavDeepLink. |
Inherited methods | |
---|---|
Public methods
getAction
public String getAction ()
Get the action from the NavDeepLink.
Returns | |
---|---|
String |
the action for the deep link. |
See also:
getMimeType
public String getMimeType ()
Get the mimeType from the NavDeepLink.
Returns | |
---|---|
String |
the mimeType of the deep link. |
See also:
getUriPattern
public String getUriPattern ()
Get the uri pattern from the NavDeepLink.
Returns | |
---|---|
String |
the uri pattern for the deep link. |
See also:
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-24 UTC.