NavDeepLinkRequest.Builder.Companion

object NavDeepLinkRequest.Builder.Companion


Summary

Public methods

final @NonNull NavDeepLinkRequest.Builder

Creates a NavDeepLinkRequest.Builder with a set action.

final @NonNull NavDeepLinkRequest.Builder
fromMimeType(String mimeType)

Creates a NavDeepLinkRequest.Builder with a set mimeType.

final @NonNull NavDeepLinkRequest.Builder
fromUri(Uri uri)

Creates a NavDeepLinkRequest.Builder with a set uri.

Public methods

fromAction

public final @NonNull NavDeepLinkRequest.Builder fromAction(String action)

Creates a NavDeepLinkRequest.Builder with a set action.

Parameters
String action

the intent action for the NavDeepLinkRequest

Throws
kotlin.IllegalArgumentException

if the action is empty.

fromMimeType

public final @NonNull NavDeepLinkRequest.Builder fromMimeType(String mimeType)

Creates a NavDeepLinkRequest.Builder with a set mimeType.

Parameters
String mimeType

the mimeType for the NavDeepLinkRequest

fromUri

public final @NonNull NavDeepLinkRequest.Builder fromUri(Uri uri)

Creates a NavDeepLinkRequest.Builder with a set uri.

Parameters
Uri uri

The uri to add to the NavDeepLinkRequest