onServiceDestroy

open fun onServiceDestroy(context: Context)

Method to call on your service onDestroy to stop Batch. Calling this method if Batch is already stopped or not started will do nothing

Parameters

context

The service or application context