-
public class InternalPushDataClass to easily access the push data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumInternalPushData.Prioritypublic enumInternalPushData.Formatpublic enumInternalPushData.ReceiptMode
-
Field Summary
Fields Modifier and Type Field Description public final static StringBATCH_BUNDLE_KEYprivate StringjsonPayload
-
Constructor Summary
Constructors Constructor Description InternalPushData(String batchData)InternalPushData(JSONObject batchData)
-
Method Summary
-
-
Constructor Detail
-
InternalPushData
InternalPushData(String batchData)
-
InternalPushData
InternalPushData(JSONObject batchData)
-
-
Method Detail
-
getJsonPayload
String getJsonPayload()
-
getPushDataForReceiverIntent
static InternalPushData getPushDataForReceiverIntent(@NonNull() Intent intent)
-
getPushDataForReceiverBundle
static InternalPushData getPushDataForReceiverBundle(@Nullable() Bundle extras)
-
getPushDataForFirebaseMessage
static InternalPushData getPushDataForFirebaseMessage(@Nullable() RemoteMessage message)
-
isSilent
boolean isSilent()
-
isLocalCampainsRefresh
boolean isLocalCampainsRefresh()
-
hasScheme
boolean hasScheme()
-
isSchemeEmpty
boolean isSchemeEmpty()
-
getInstallId
String getInstallId()
-
hasLandingMessage
boolean hasLandingMessage()
-
getLandingMessage
JSONObject getLandingMessage()
-
hasCustomBigIcon
boolean hasCustomBigIcon()
-
getCustomBigIconURL
String getCustomBigIconURL()
-
getCustomBigIconAvailableDensity
List<Double> getCustomBigIconAvailableDensity()
-
hasCustomBigImage
boolean hasCustomBigImage()
-
getCustomBigImageURL
String getCustomBigImageURL()
-
getCustomBigImageAvailableDensity
List<Double> getCustomBigImageAvailableDensity()
-
getActions
List<BatchNotificationAction> getActions()
-
getReceiptMode
InternalPushData.ReceiptMode getReceiptMode()
-
getReceiptMinDelay
long getReceiptMinDelay()
-
getReceiptMaxDelay
long getReceiptMaxDelay()
-
getPriority
InternalPushData.Priority getPriority()
-
getChannel
String getChannel()
Returns the channel for Android 8.0
-
getSource
BatchNotificationSource getSource()
-
isGroupSummary
boolean isGroupSummary()
Get the notification group name. Meant to be used with setGroupSummary
-
getVisibility
int getVisibility()
Get the notification's visibility.
See setVisibility
-
getNotificationFormat
InternalPushData.Format getNotificationFormat()
Get the notification formatA format is like a Messaging message format
-
getNotificationFormatArguments
@Nullable() JSONObject getNotificationFormatArguments()
Get the notification format arguments
-
getExtraParameters
Map<String, Object> getExtraParameters()
-
getOpenData
Map<String, Object> getOpenData()
Get the open data as map
-
getReceiptEventData
Map<String, Object> getReceiptEventData()
Get the event data for the display receipt
-
shouldUseLegacyBigPictureIconBehaviour
boolean shouldUseLegacyBigPictureIconBehaviour()
Returns whether the old custom icon fallback behaviour for BigPictureStyle(which changed in 1.14.1) should be used or not.
Default false
-
-
-
-