onDestroy

open override fun onDestroy()

A lifecycle callback method that overrides Service.onDestroy.

This callback is invoked by the system to notify a Service that it is no longer used and is being removed.