payloadFromReceiverExtras

Attempt to extract the Batch Push data contained within the specified Intent extras. 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

extras

Broadcast receiver intent's extras containing Batch Push data.

Throws

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