Companion

object Companion

Properties

Link copied to clipboard

The chat manager instance. Is available when the client is configured and the user is logged in.

Link copied to clipboard

The Sippo client instance.

Link copied to clipboard

The host meta file to access AuthUrl and WebUrl.

Link copied to clipboard

The session manager instance. Is available when the client is configured.

Functions

Link copied to clipboard
fun configure(context: Context, serverUrl: URL, logger: SippoLogger = SippoLogger.Builder().build(), onCompletion: (SippoResourceError?) -> Unit)

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

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