configure

fun configure(context: Context, serverUrl: URL, xmppPort: Int? = null)

Creates and configures a new Sippo client instance. If another instance exists, it will continue alive until an explicit logout is made. Also, after an explicit logout, the current instance is no longer valid and a new one needs to be configured.

Parameters

context

Application context.

serverUrl

Server URL.

xmppPort

Port used for the XMPP server. If none is passed, the default port will be used.