NavDeepLinkRequest

public class 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 types

NavDeepLinkRequest.Builder

A builder for constructing NavDeepLinkRequest instances.

NavDeepLinkRequest.Builder.Companion

Public fields

@Nullable String

The action from the NavDeepLinkRequest.

@Nullable String

The mimeType from the NavDeepLinkRequest.

@Nullable Uri

The uri from the NavDeepLinkRequest.

Public constructors

NavDeepLinkRequest(
    @Nullable Uri uri,
    @Nullable String action,
    @Nullable String mimeType
)

Public methods

@NonNull String

Public fields

action

@Nullable
public @Nullable String action

The action from the NavDeepLinkRequest.

See also
action

mimeType

@Nullable
public @Nullable String mimeType

The mimeType from the NavDeepLinkRequest.

See also
mimeType

uri

@Nullable
public @Nullable Uri uri

The uri from the NavDeepLinkRequest.

See also
uriPattern

Public constructors

@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
@NonNull
public final NavDeepLinkRequest(@NonNull Intent intent)
@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
@NonNull
public final NavDeepLinkRequest(
    @Nullable Uri uri,
    @Nullable String action,
    @Nullable String mimeType
)

Public methods

toString

@NonNull
public String toString()