copyBatchExtras

open fun copyBatchExtras(@Nullable from: Intent, @Nullable to: Intent)

Copy Batch's internal data from an intent to another. This is useful if you've got an activity that will not get a chance to start Batch before closing itself, but don't want to break features relying on data put in the intent extras, such as direct open tracking or mobile landings.

Parameters

from

Intent to read Batch's data from

to

Intent to copy Batch's data to


open fun copyBatchExtras(@Nullable from: Bundle, @Nullable to: Bundle)

Copy Batch's internal data from intent extras to another bundle. This is useful if you've got an activity that will not get a chance to start Batch before closing itself, but don't want to break features relying on data put in the intent extras, such as direct open tracking or mobile landings.

Parameters

from

Intent to read Batch's data from

to

Intent to copy Batch's data to