android-components / mozilla.components.feature.contextmenu / ContextMenuCandidate / showFor

showFor

val showFor: (SessionState, HitResult) -> Boolean (source)

If this lambda returns true for a given SessionState and HitResult then it will be displayed in the context menu.

Property

showFor - If this lambda returns true for a given SessionState and HitResult then it will be displayed in the context menu.