NavDeepLinkRequest.Builder.Companion

object NavDeepLinkRequest.Builder.Companion


Summary

Public functions

NavDeepLinkRequest.Builder
fromAction(action: String)

Creates a NavDeepLinkRequest.Builder with a set action.

NavDeepLinkRequest.Builder
fromMimeType(mimeType: String)

Creates a NavDeepLinkRequest.Builder with a set mimeType.

NavDeepLinkRequest.Builder
fromUri(uri: Uri)

Creates a NavDeepLinkRequest.Builder with a set uri.

Public functions

fromAction

fun fromAction(action: String): NavDeepLinkRequest.Builder

Creates a NavDeepLinkRequest.Builder with a set action.

Parameters
action: String

the intent action for the NavDeepLinkRequest

Returns
NavDeepLinkRequest.Builder

a Builder instance

Throws
kotlin.IllegalArgumentException

if the action is empty.

fromMimeType

fun fromMimeType(mimeType: String): NavDeepLinkRequest.Builder

Creates a NavDeepLinkRequest.Builder with a set mimeType.

Parameters
mimeType: String

the mimeType for the NavDeepLinkRequest

Returns
NavDeepLinkRequest.Builder

a Builder instance

fromUri

fun fromUri(uri: Uri): NavDeepLinkRequest.Builder

Creates a NavDeepLinkRequest.Builder with a set uri.

Parameters
uri: Uri

The uri to add to the NavDeepLinkRequest

Returns
NavDeepLinkRequest.Builder

a Builder instance