isActive

open fun isActive(): Boolean

Check whether the service is active or not. An active service will accept new clients that connect, while a non-active service will let connecting clients queue up until the service is started.

Return

true if the service is active, false otherwise

Since

2.22