A implementation of a PushProcessor that should live as a singleton by being installed in the Application’s onCreate. It receives messages from a service and forwards them to be decrypted and routed.
Listen for subscription information changes for each registered PushType:
Listen also for push messages for each registered PushType:
| Name | Summary |
| <init> |
AutoPushFeature(context: <ERROR CLASS>, service:
= Executors.newSingleThreadExecutor().asCoroutineDispatcher(), connection:
senderId = config.senderId,
serverHost = config.serverHost,
socketProtocol = config.protocol,
serviceType = config.serviceType,
databasePath = File(context.filesDir, DB_NAME).canonicalPath
A implementation of a PushProcessor that should live as a singleton by being installed in the Application’s onCreate. It receives messages from a service and forwards them to be decrypted and routed. |
Deletes the registration token locally so that it forces the service to get a new one the next time hits it’s messaging server.
Starts the push service provided.
An error has occurred.
New encrypted messages received from a supported push messaging service.
New registration tokens are received and sent to the Autopush server which also performs subscriptions for each push type and notifies the subscribers.
Register to receive push messages for the associated PushType.
Register to receive push subscriptions when requested or when they have been re-registered.
Un-subscribes from all push message channels and stops the push service. This should only be done on an account logout or app data deletion.
Returns all subscription for the push type if available.
Notifies observers about the subscription information for the push type if available.
Returns subscription information for the push type if available.