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

Creates a NavDeepLinkRequest.Builder with a set mimeType.

final @NonNull NavDeepLinkRequest.Builder

Creates a NavDeepLinkRequest.Builder with a set uri.

Public methods

fromAction

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

Creates a NavDeepLinkRequest.Builder with a set action.

Parameters
@NonNull String action

the intent action for the NavDeepLinkRequest

Returns
NavDeepLinkRequest.Builder

a Builder instance

Throws
kotlin.IllegalArgumentException

if the action is empty.

fromMimeType

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

Creates a NavDeepLinkRequest.Builder with a set mimeType.

Parameters
@NonNull String mimeType

the mimeType for the NavDeepLinkRequest

Returns
NavDeepLinkRequest.Builder

a Builder instance

fromUri

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

Creates a NavDeepLinkRequest.Builder with a set uri.

Parameters
@NonNull Uri uri

The uri to add to the NavDeepLinkRequest

Returns
NavDeepLinkRequest.Builder

a Builder instance