setFetchLimit

open fun setFetchLimit(fetchLimit: Int)

Maximum number of notifications to fetch. This allows you to let Batch manage the upper limit itself, so you can be sure not to use a crazy amount of memory. If you want to fetch unlimited messages, set this property to 0.

Parameters

fetchLimit

Limit of notifications to fetch. Default: 200