StreamCallActivityConfiguration

data class StreamCallActivityConfiguration(val closeScreenOnError: Boolean = true, val closeScreenOnCallEnded: Boolean = true, val canSkiPermissionRationale: Boolean = true, val canKeepScreenOn: Boolean = true, val custom: Bundle? = null)

A configuration that controls various behaviors of the StreamCallActivity.

Constructors

Link copied to clipboard
constructor(closeScreenOnError: Boolean = true, closeScreenOnCallEnded: Boolean = true, canSkiPermissionRationale: Boolean = true, canKeepScreenOn: Boolean = true, custom: Bundle? = null)

Properties

Link copied to clipboard

When set to true, the activity will keep the screen on.

Link copied to clipboard

When set to false, the activity will simply ignore the showRationale from the system and show the rationale screen anyway.

Link copied to clipboard

When the call has ended for any reason, close the screen

Link copied to clipboard

When there has been a technical error, close the screen.

Link copied to clipboard
val custom: Bundle? = null

Custom configuration extension for any extending classes. Can be used same as normal extras.

Inherited functions

Link copied to clipboard