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 booleanonReceive(android.content.Context context, android.content.Intent intent, PushAnalyticsReceiverCallback callback)Parses the incoming intent and delegates functionality to the givencallbackif 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 givencallbackif appropriate. This implementation checks for MParticle-specific actions and will not handle messages outside of that scope. MParticle actions can be found inMPMessagingAPIBROADCAST_*constants.- Parameters:
context-intent-callback-- Returns:
trueif theIntentwas handled by MParticle
-
-