getCallState

fun getCallState(phoneNumber: String): CallState?

Returns a call state for the given phoneNumber. If the call is disconnected, it can be already destroyed and null can be returned.

Return

The call state, if the call exists else null.

Parameters

phoneNumber

The phone number for the call.