isDebugConnectionServiceReady

fun isDebugConnectionServiceReady(): Boolean

Checks if the connection service is ready.

The connection will be ready if at least one call is created. The calls can be created by calling createIncomingCall, createOutgoingCall, or directly calling TelecomManager.placeCall with TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE and debugPhoneAccount.

Should be called before calling applyCallState or getCallState when creating the first call.