NavDeepLinkDslBuilder
@NavDeepLinkDsl
public final class NavDeepLinkDslBuilder
DSL for constructing a new NavDeepLink
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
final String |
Intent action for the deep link |
final String |
MimeType for the deep link |
final String |
The uri pattern of the deep link |
final void |
Intent action for the deep link |
final void |
setMimeType(String value)MimeType for the deep link |
final void |
setUriPattern(String value)The uri pattern of the deep link |
Public constructors
Public methods
getAction
public final String getAction()
Intent action for the deep link
| Throws | |
|---|---|
IllegalArgumentException |
if attempting to set to empty. |
getUriPattern
public final String getUriPattern()
The uri pattern of the deep link
If used with safe args, this will override the uriPattern from KClass that was set during NavDestinationBuilder initialization.
setAction
public final void setAction(String p)
Intent action for the deep link
| Throws | |
|---|---|
IllegalArgumentException |
if attempting to set to empty. |
setUriPattern
public final void setUriPattern(String value)
The uri pattern of the deep link
If used with safe args, this will override the uriPattern from KClass that was set during NavDestinationBuilder initialization.