Package com.adobe.marketing.mobile
Class AEPMessagingService
-
- All Implemented Interfaces:
public class AEPMessagingServiceThis class is the entry point for all Adobe Campaign Classic out-of-the-box push template notifications received from Firebase.
-
-
Constructor Summary
Constructors Constructor Description AEPMessagingService()
-
Method Summary
Modifier and Type Method Description static booleanhandleRemoteMessage(@NonNull() Context context, @NonNull() RemoteMessage remoteMessage)Builds an CampaignClassicPushPayload then constructs a Notification using the RemoteMessagepayload.-
-
Method Detail
-
handleRemoteMessage
static boolean handleRemoteMessage(@NonNull() Context context, @NonNull() RemoteMessage remoteMessage)
Builds an CampaignClassicPushPayload then constructs a Notification using the
RemoteMessagepayload. The built notification is then passed to the to be displayed. If any exceptions are thrown when building theAEPPushPayloadorNotification, this method will return false signaling that the remote message was not handled by theAEPMessagingService.- Parameters:
context- the application ContextremoteMessage- the RemoteMessage containing a push notification payload- Returns:
booleansignaling if the AEPMessagingService handled the remote message
-
-
-
-