Package-level declarations

Types

Link copied to clipboard
typealias ApiKey = String

The API key of your Stream Video app.

Link copied to clipboard
@Serializable
data class Device(val id: String, val pushProvider: String, val pushProviderName: String)
Link copied to clipboard
@Serializer(forClass = OffsetDateTime::class)
object OffsetDateTimeSerializer : KSerializer<OffsetDateTime>
Link copied to clipboard
typealias SfuToken = String

User's ticket to enter the call when joined/initiated.

Link copied to clipboard
@Serializable
data class StreamCallId(val type: String, val id: String, val cid: String = when { type.isNotEmpty() && id.isNotEmpty() -> "$type:$id" id.isNotEmpty() -> id else -> error("[StreamCallId] invalid arguments; type=$type, id=$id") }, val isValid: Boolean = type.isNotEmpty() || id.isNotEmpty()) : Parcelable

Represents the stream call details about type, id, and cid, which is essential for joining a call.

Link copied to clipboard
@Serializable
data class User(val id: String = "", val role: String? = "user", val type: UserType = UserType.Authenticated, val name: String? = null, val image: String? = null, val teams: List<String>? = emptyList(), val custom: Map<String, String>? = emptyMap(), val createdAt: OffsetDateTime? = null, val updatedAt: OffsetDateTime? = null, val deletedAt: OffsetDateTime? = null)
Link copied to clipboard
data class UserAudioLevel(val userId: String, val isSpeaking: Boolean, val audioLevel: Float)

Represents the audio level and if a user is speaking.

Link copied to clipboard
@Serializable
data class UserDevices(val devices: List<Device> = emptyList())
Link copied to clipboard
typealias UserToken = String

User's ticket to join/initiate the call.

Link copied to clipboard
@Serializable
sealed class UserType

Inherited functions

Link copied to clipboard
Link copied to clipboard

Gets a StreamCallId, which is Parcelable object from an Intent with a given key.