public final class

NavDeepLinkRequest.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.navigation.NavDeepLinkRequest.Builder

Overview

A builder for constructing NavDeepLinkRequest instances.

Summary

Methods
public NavDeepLinkRequestbuild()

Build the NavDeepLinkRequest specified by this builder.

public static NavDeepLinkRequest.BuilderfromAction(java.lang.String action)

Creates a NavDeepLinkRequest.Builder with a set action.

public static NavDeepLinkRequest.BuilderfromMimeType(java.lang.String mimeType)

Creates a NavDeepLinkRequest.Builder with a set mimeType.

public static NavDeepLinkRequest.BuilderfromUri(Uri uri)

Creates a NavDeepLinkRequest.Builder with a set uri.

public NavDeepLinkRequest.BuildersetAction(java.lang.String action)

Set the action for the NavDeepLinkRequest.

public NavDeepLinkRequest.BuildersetMimeType(java.lang.String mimeType)

Set the mimeType for the NavDeepLinkRequest.

public NavDeepLinkRequest.BuildersetUri(Uri uri)

Set the uri for the NavDeepLinkRequest.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public static NavDeepLinkRequest.Builder fromUri(Uri uri)

Creates a NavDeepLinkRequest.Builder with a set uri.

Parameters:

uri: The uri to add to the NavDeepLinkRequest

Returns:

a NavDeepLinkRequest.Builder instance

public static NavDeepLinkRequest.Builder fromAction(java.lang.String action)

Creates a NavDeepLinkRequest.Builder with a set action.

Parameters:

action: the intent action for the NavDeepLinkRequest

Returns:

a NavDeepLinkRequest.Builder instance

public static NavDeepLinkRequest.Builder fromMimeType(java.lang.String mimeType)

Creates a NavDeepLinkRequest.Builder with a set mimeType.

Parameters:

mimeType: the mimeType for the NavDeepLinkRequest

Returns:

a NavDeepLinkRequest.Builder instance

public NavDeepLinkRequest.Builder setUri(Uri uri)

Set the uri for the NavDeepLinkRequest.

Parameters:

uri: The uri to add to the NavDeepLinkRequest

Returns:

This builder.

public NavDeepLinkRequest.Builder setAction(java.lang.String action)

Set the action for the NavDeepLinkRequest.

Parameters:

action: the intent action for the NavDeepLinkRequest

Returns:

This builder.

public NavDeepLinkRequest.Builder setMimeType(java.lang.String mimeType)

Set the mimeType for the NavDeepLinkRequest.

Parameters:

mimeType: the mimeType for the NavDeepLinkRequest

Returns:

This builder.

public NavDeepLinkRequest build()

Build the NavDeepLinkRequest specified by this builder.

Returns:

the newly constructed NavDeepLinkRequest