stopService

open fun stopService(className: String): Boolean

Stop the service.

Return

{@code true}: success{@code false}: fail

Parameters

className

The name of class.

open fun stopService(cls: Class<out Any>): Boolean

Stop the service.

Return

{@code true}: success{@code false}: fail

Parameters

cls

The name of class.