android-components / mozilla.components.support.base.facts

Package mozilla.components.support.base.facts

Types

Name Summary
Action enum class Action
A user or system action that causes Fact instances to be emitted.
Fact data class Fact
A fact describing a generic event that has occurred in a component.
FactProcessor interface FactProcessor
A FactProcessor receives Fact instances to process them further.
Facts object Facts
Global API for collecting Fact objects and forwarding them to FactProcessor instances.

Functions

Name Summary
collect fun Fact.collect(): Unit
Collect this fact through the Facts singleton.
register fun FactProcessor.register(): Facts
Registers this FactProcessor to collect Fact instances from the Facts singleton.