Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,15 @@ public Bundle getPayloadData() {
return _payloadData;
}

/**
* Resets the notification payload data by setting it to null.
* Call this method after you have finished processing the notification payload
* to prevent stale data from being returned by {@link #getPayloadData()}.
*/
public void clearPayloadData() {
_payloadData = null;
}

public void setDeviceAttribute(String key, String value) {
if (key == null || value == null) {
IterableLogger.e(TAG, "setDeviceAttribute: key and value must not be null");
Expand Down
Loading