Google 致力于为黑人社区推动种族平等。查看具体举措

NavDeepLinkDslBuilder

class NavDeepLinkDslBuilder
kotlin.Any
   ↳ androidx.navigation.NavDeepLinkDslBuilder

DSL for constructing a new NavDeepLink

Summary

Public constructors

DSL for constructing a new NavDeepLink

Properties
String?

Intent action for the deep link

String?

MimeType for the deep link

String?

The uri pattern of the deep link

Public constructors

<init>

NavDeepLinkDslBuilder()

DSL for constructing a new NavDeepLink

Properties

action

var action: String?

Intent action for the deep link

Exceptions
IllegalArgumentException if attempting to set to empty.

mimeType

var mimeType: String?

MimeType for the deep link

uriPattern

var uriPattern: String?

The uri pattern of the deep link