getLastVoipSessionByMessageId

open fun getLastVoipSessionByMessageId(@NonNull context: Context, @Nullable voipMessageId: String): VoipSessionItem

Call this method to retrieve the last VoipSessionItem linked to a specific VoipMessage

Note that : this method has access to database, so it is better to minimize calls to this method from UI thread

Return

an instance of VoipSessionItem

Parameters

context

The application context

voipMessageId

he message ID of a VoipMessage