is This Service Running

fun isThisServiceRunning(serviceClass: Class<*>): Boolean

Method to check if defined service is running or not

Return

Is defined service is running?

Parameters

serviceClass

service to check

Sources

Link copied to clipboard