get Active Voip Session By Thread Id
open fun getActiveVoipSessionByThreadId(@NonNull context: Context, @Nullable threadId: String): VoipSessionItem
Content copied to clipboard
Call this method to retrieve, if exist, an ongoing VoIP session related to a specific conversation
Note that : this method has access to database, so it is better to minimize calls to this method from UI thread
Return
VoipSessionItem if the specified thread has an active VoIP session, null otherwise
Parameters
context
the application context
thread Id
conversation ID