Companion

object Companion

Functions

Link copied to clipboard
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.

Link copied to clipboard
fun configureRTC(context: Context)

Configures the WebRTC protocol used for VoIP features. It should be called once during the application lifecycle.

Properties

Link copied to clipboard
lateinit var client: SippoClient

The Sippo client instance.