ContextType

@Serializable(with = ContextTypeSerializer::class)
sealed interface ContextType

Enum of BaseAudioContext types

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = ContextTypeSerializer::class)
data class NotDefinedInProtocol(val value: String) : ContextType

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).

Link copied to clipboard
@Serializable(with = ContextTypeSerializer::class)
data object offline : ContextType
Link copied to clipboard
@Serializable(with = ContextTypeSerializer::class)
data object realtime : ContextType