writeToBundle

open fun writeToBundle(@NonNull bundle: Bundle)

Serialize this instance into a Bundle. Note that you'll need to use payloadFromBundle with the intent's extras to read it back.

The payload is signed so that Batch displays the landing it carries. Signing needs Batch to be started: from a push service with the app in the background, call onServiceCreate first, or use makePendingIntent instead.

Parameters

bundle

Bundle instance to serialize this in