payloadFromReceiverIntent

Attempt to extract the Batch Push data contained within the specified Intent. This is usually the method you want to use when reading this payload from a push broadcast receiver/service, NOT from an activity intent. If you wrote an existing BatchPushPayload to a Bundle/Intent extras using writeToBundle / writeToIntentExtras, you should rather use payloadFromBundle

Return

A BatchPushPayload instance.

Parameters

intent

Broadcast receiver intent containing Batch Push data.

Throws

Thrown if the argument doesn't contain valid Batch Push data