| CustomAttributeProvider.kt |
Custom attributes that the messaging framework will use to evaluate if message is eligible to be shown. |
5446 |
- |
| DefaultMessageController.kt |
Handles default interactions with the ui of Nimbus Messaging messages. |
1261 |
- |
| FenixMessageSurfaceId.kt |
The identity of a message surface for Fenix |
718 |
- |
| MessageController.kt |
Controls all the interactions with a [Message]. |
615 |
- |
| MessageNotificationWorker.kt |
Timeout duration (in milliseconds) for the fetch experiments operation, covering both the network request and any
required post-processing.
This is a background task, not initiated by the user, so a slightly higher timeout is acceptable.
If the operation doesn't complete within this time, it will be retried on the next app launch or during the next
scheduled sync interval.
**Six seconds will cover 99% of users** based on Nimbus research.
@see https://sql.telemetry.mozilla.org/queries/91863/source?p_days=30#227434.
|
13730 |
- |
| MessagingFeature.kt |
A [LifecycleAwareFeature] which tries to evaluate if message is available for the provided [surface]. |
948 |
- |
| MessagingState.kt |
Represent all the state related to the Messaging framework.
@property messages Indicates all the available messages.
@property messageToShow Indicates the message that should be shown to users, if it is null means there is not message
that is eligible to be shown to users.
|
814 |
- |
| MicrosurveyMessageController.kt |
Handles interactions with a microsurvey.
@param appStore The [AppStore] for dispatching actions.
@param openUrlInBrowser Callback to open a URL in the browser.
|
3209 |
- |
| QAMessageNotificationWorkerReceiver.kt |
Testing receiver to trigger [MessageNotificationWorker] on demand via adb.
Usage:
```
adb shell am broadcast -a org.mozilla.fenix.TRIGGER_MESSAGE_WORKER \
-p org.mozilla.fenix
```
`-p org.mozilla.fenix` is the package name, so adjust that value for release/nightly/debug.
|
1484 |
- |
| state |
|
|
- |