Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

NavDeepLink

class NavDeepLink
kotlin.Any
   ↳ androidx.navigation.NavDeepLink

NavDeepLink encapsulates the parsing and matching of a navigation deep link. This should be added to a NavDestination using NavDestination#addDeepLink(NavDeepLink).

Summary

Nested classes

A builder for constructing NavDeepLink instances.

Public methods
String?

Get the action from the NavDeepLink.

String?

Get the mimeType from the NavDeepLink.

String?

Get the uri pattern from the NavDeepLink.

Public methods

getAction

@Nullable fun getAction(): String?

Get the action from the NavDeepLink.

Return
String? the action for the deep link.

getMimeType

@Nullable fun getMimeType(): String?

Get the mimeType from the NavDeepLink.

Return
String? the mimeType of the deep link.

getUriPattern

@Nullable fun getUriPattern(): String?

Get the uri pattern from the NavDeepLink.

Return
String? the uri pattern for the deep link.