getNumberOfUnreadVoipSessionByConversationId

open fun getNumberOfUnreadVoipSessionByConversationId(@NonNull context: Context, @NonNull conversationId: String): Int

Call this method to retrieve the number of unread missed 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

number of unread missed VoIP calls in the conversation

Parameters

context

the application context

conversationId

conversation ID