Package com.batch.android
Class BatchLandingMessage
- java.lang.Object
-
- com.batch.android.BatchMessage
-
- com.batch.android.BatchLandingMessage
-
- All Implemented Interfaces:
PushUserActionSource,UserActionSource
public class BatchLandingMessage extends BatchMessage implements PushUserActionSource
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
Fields Modifier and Type Field Description static java.lang.StringKIND-
Fields inherited from class com.batch.android.BatchMessage
MESSAGING_EXTRA_PAYLOAD_KEY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBatchLandingMessage(android.os.Bundle rawPayload, JSONObject parsedLanding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected android.os.BundlegetBundleRepresentation()protected JSONObjectgetCustomPayloadInternal()protected JSONObjectgetJSON()protected java.lang.StringgetKind()android.os.BundlegetPushBundle()-
Methods inherited from class com.batch.android.BatchMessage
getFormat, getMessageForBundle, writeToBundle, writeToIntent
-
-
-
-
Field Detail
-
KIND
public static final java.lang.String KIND
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BatchLandingMessage
protected BatchLandingMessage(@NonNull android.os.Bundle rawPayload, @NonNull JSONObject parsedLanding)
-
-
Method Detail
-
getJSON
protected JSONObject getJSON()
- Specified by:
getJSONin classBatchMessage
-
getCustomPayloadInternal
protected JSONObject getCustomPayloadInternal()
- Specified by:
getCustomPayloadInternalin classBatchMessage
-
getKind
protected java.lang.String getKind()
- Specified by:
getKindin classBatchMessage
-
getBundleRepresentation
protected android.os.Bundle getBundleRepresentation()
- Specified by:
getBundleRepresentationin classBatchMessage
-
getPushBundle
public android.os.Bundle getPushBundle()
- Specified by:
getPushBundlein interfacePushUserActionSource
-
-