Package-level declarations

Types

Link copied to clipboard
interface ModalEvaluator

Interface for modal evaluators that can be coordinated by the ModalEvaluatorCoordinator. Each evaluator should implement this interface and contribute itself via @ContributesMultibinding.

Link copied to clipboard

Allows code outside the prompts-coordinator to report that a modal-equivalent UI has just been surfaced to the user (for example, an Activity launched directly from a notification tap or deep link).

Link copied to clipboard

Which lifecycle event causes the coordinator to evaluate a ModalEvaluator. A pass only considers evaluators matching the trigger that started it, so different triggers never compete.

Link copied to clipboard

Lets New Tab Page hosts report a render, which the coordinator cannot observe itself: mid-session NTP renders produce no ModalTrigger.APP_RESUME.

Link copied to clipboard

Arbitrates the shared New Tab Page prompt surface between the Modal Coordinator and the Remote Messaging Framework (RMF) inline card, enforcing:

Link copied to clipboard

The kinds of app-originated prompts arbitrated by the PromptsCoordinator.