-
public final class ChatXiaomiMessagingReceiver extends PushMessageReceiverReceiver that handle Push Notifications from Xiaomi servers.
-
-
Constructor Summary
Constructors Constructor Description ChatXiaomiMessagingReceiver()
-
Method Summary
Modifier and Type Method Description UnitonReceivePassThroughMessage(Context context, MiPushMessage miPushMessage)This method is called when a push notification is received from Xiaomi Servers. UnitonReceiveRegisterResult(Context context, MiPushCommandMessage miPushCommandMessage)This method is called when the device is registered on Xiaomi Servers. -
Methods inherited from class io.getstream.chat.android.pushprovider.xiaomi.ChatXiaomiMessagingReceiver
onCommandResult, onNotificationMessageArrived, onNotificationMessageClicked, onReceive, onReceiveMessage, onRequirePermissions -
Methods inherited from class com.xiaomi.mipush.sdk.PushMessageReceiver
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, 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
-
onReceivePassThroughMessage
Unit onReceivePassThroughMessage(Context context, MiPushMessage miPushMessage)
This method is called when a push notification is received from Xiaomi Servers.
- Parameters:
context- The Context where this code is run.miPushMessage- A MiPushMessage that contains inifo about the push notification.
-
onReceiveRegisterResult
Unit onReceiveRegisterResult(Context context, MiPushCommandMessage miPushCommandMessage)
This method is called when the device is registered on Xiaomi Servers.
- Parameters:
context- The Context where this code is run.miPushCommandMessage- A MiPushCommandMessage that contains inifo about the device.
-
-
-
-