writeToIntentExtras

open fun writeToIntentExtras(@NonNull intent: Intent)

Serialize this instance into an Intent. Note that you'll need to use payloadFromBundle with the intent's extras to read it back. This method WILL NOT fill the intent in a format that payloadFromReceiverIntent understands.

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

intent

Intent instance to serialize this in