Package com.mparticle.messaging
Class MPMessagingRouter
- java.lang.Object
-
- com.mparticle.messaging.MPMessagingRouter
-
public class MPMessagingRouter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MPMessagingRouter()
-
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 givencallback
if appropriate.
-
-
-
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 givencallback
if appropriate. This implementation checks for MParticle-specific actions and will not handle messages outside of that scope. MParticle actions can be found inMPMessagingAPI
BROADCAST_*
constants.- Parameters:
context
-intent
-callback
-- Returns:
true
if theIntent
was handled by MParticle
-
-