getContactById

fun getContactById(context: Context, contactId: Int): STWContact?

Get -if exist- the STWContact having the specified contact Id

Return

STWContact or null if not exist.

Parameters

context

The application context

contactId

The contact identifier