onServiceAction

abstract suspend fun onServiceAction(action: ServiceAction)(source)

Dispatches a service action to be handled by the background service.

Parameters

action

The ServiceAction to perform.