PermissionManager

Interface used to keep track of permissions needed for the Video call to work.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val hasCameraPermission: StateFlow<Boolean>

State of the video permission.

Link copied to clipboard
abstract val hasRecordAudioPermission: StateFlow<Boolean>

State of the record audio permission.

Functions

Link copied to clipboard
abstract fun checkPermission(permission: String): Boolean

Used to check whether a permission is granted.

Link copied to clipboard
abstract fun requestPermission(permission: String): Boolean

Used to request a permission or returns true if already granted.