DeepLinkMatcher.Companion


Summary

Public functions

DeepLinkMatcher.Filter

Creates a DeepLinkMatcher.Filter that filters a DeepLinkRequest with the mimeType defined on the DeepLinkMatcher.

Cmn

Extension functions

DeepLinkMatcher.Filter

Creates a DeepLinkMatcher.Filter that filters a DeepLinkRequest with the action.

android

Public functions

mimeTypeFilter

fun mimeTypeFilter(mimeType: String): DeepLinkMatcher.Filter

Creates a DeepLinkMatcher.Filter that filters a DeepLinkRequest with the mimeType defined on the DeepLinkMatcher. Matching is not case-sensitive.

Parameters
mimeType: String

the action the filter by

Returns
DeepLinkMatcher.Filter

true if the mimeType exactly matches the DeepLinkMatcher's action or if the matcher did not define any actions, false otherwise.

Extension functions

DeepLinkMatcher.Companion.actionFilter

fun DeepLinkMatcher.Companion.actionFilter(action: String): DeepLinkMatcher.Filter

Creates a DeepLinkMatcher.Filter that filters a DeepLinkRequest with the action. Matching is case-insensitive.

Parameters
action: String

the action the filter by

Returns
DeepLinkMatcher.Filter

true if the DeepLinkRequest's Action exactly matches the action, false if the request's Action does not match or if the request does not provide any Action.