-
public final class MessagingReceiverImpl extends MessagingReceiver
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMessagingReceiverImpl.Companion
-
Constructor Summary
Constructors Constructor Description MessagingReceiverImpl()
-
Method Summary
Modifier and Type Method Description UnitonUnregistered(Context context, String instance)This application is unregistered by the distributor from receiving push messages UnitonMessage(Context context, PushMessage message, String instance)A new message is received. UnitonNewEndpoint(Context context, PushEndpoint endpoint, String instance)A new endpoint is to be used for sending push messages. UnitonRegistrationFailed(Context context, FailedReason reason, String instance)The registration is not possible, eg. UnitonReceive(Context context, Intent intent)Handle UnifiedPush messages, should not be override -
Methods inherited from class org.unifiedpush.android.connector.internal.MessagingReceiverImpl
getKeyManager -
Methods inherited from class org.unifiedpush.android.connector.MessagingReceiver
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, getSentFromPackage, getSentFromUid, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onUnregistered
Unit onUnregistered(Context context, String instance)
This application is unregistered by the distributor from receiving push messages
-
onMessage
Unit onMessage(Context context, PushMessage message, String instance)
A new message is received. The message contains the decrypted content of the push message for the instance
-
onNewEndpoint
Unit onNewEndpoint(Context context, PushEndpoint endpoint, String instance)
A new endpoint is to be used for sending push messages. The new endpoint should be send to the application server, and the app should sync for missing notifications.
-
onRegistrationFailed
Unit onRegistrationFailed(Context context, FailedReason reason, String instance)
The registration is not possible, eg. no network, depending on the reason, you can try to register again directly.
-
-
-
-