Package com.batch.android
Class BatchLandingMessage
java.lang.Object
com.batch.android.BatchMessage
com.batch.android.BatchLandingMessage
- All Implemented Interfaces:
PushUserActionSource,UserActionSource
A subclass of BatchMessage that represents a push landing message
-
Nested Class Summary
Nested classes/interfaces inherited from class com.batch.android.BatchMessage
BatchMessage.Format -
Field Summary
FieldsFields inherited from class com.batch.android.BatchMessage
MESSAGING_EXTRA_PAYLOAD_KEY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBatchLandingMessage(Bundle rawPayload, JSONObject parsedLanding) -
Method Summary
Modifier and TypeMethodDescriptionprotected Bundleprotected JSONObjectgetJSON()protected StringgetKind()booleanWhether this landing message has been triggered from an inbox notification through the methodBatchInboxNotificationContent#displayLandingMessage.Methods inherited from class com.batch.android.BatchMessage
getFormat, getMessageForBundle, writeToBundle, writeToIntent
-
Field Details
-
KIND
- See Also:
-
-
Constructor Details
-
BatchLandingMessage
-
-
Method Details
-
getJSON
- Specified by:
getJSONin classBatchMessage
-
getKind
- Specified by:
getKindin classBatchMessage
-
getBundleRepresentation
- Specified by:
getBundleRepresentationin classBatchMessage
-
getPushBundle
- Specified by:
getPushBundlein interfacePushUserActionSource
-
isDisplayedFromInbox
public boolean isDisplayedFromInbox()Whether this landing message has been triggered from an inbox notification through the methodBatchInboxNotificationContent#displayLandingMessage.- Returns:
- true if displayed from inbox, false if from a push notification.
-