android-components / mozilla.components.concept.push

Package mozilla.components.concept.push


Name Summary
Bus interface Bus<T, M>
Interface for a basic bus that is implemented by MessageBus so that classes can observe particular event types.
EncryptedPushMessage data class EncryptedPushMessage
A push message holds the information needed to pass the message on to the appropriate receiver.
PushError sealed class PushError
Various error types.
PushProcessor interface PushProcessor
A push notification processor that handles registration and new messages from the PushService provided. Starting Push in the Application’s onCreate is recommended.
PushService interface PushService
Implemented by push services like Firebase Cloud Messaging and Amazon Device Messaging SDKs to allow the PushProcessor to manage their lifecycle.