Class MPMessagingRouter


  • public class MPMessagingRouter
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean onReceive​(android.content.Context context, android.content.Intent intent, PushAnalyticsReceiverCallback callback)
      Parses the incoming intent and delegates functionality to the given callback if appropriate.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MPMessagingRouter

        public MPMessagingRouter()
    • Method Detail

      • onReceive

        public static boolean onReceive​(android.content.Context context,
                                        android.content.Intent intent,
                                        PushAnalyticsReceiverCallback callback)
        Parses the incoming intent and delegates functionality to the given callback if appropriate. This implementation checks for MParticle-specific actions and will not handle messages outside of that scope. MParticle actions can be found in MPMessagingAPI BROADCAST_* constants.
        Parameters:
        context -
        intent -
        callback -
        Returns:
        true if the Intent was handled by MParticle