StreamFormat

@Serializable(with = StreamFormatSerializer::class)
sealed interface StreamFormat

Data format of a trace. Can be either the legacy JSON format or the protocol buffer format. Note that the JSON format will be deprecated soon.

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = StreamFormatSerializer::class)
data object json : StreamFormat
Link copied to clipboard
@Serializable(with = StreamFormatSerializer::class)
data class NotDefinedInProtocol(val value: String) : StreamFormat

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 = StreamFormatSerializer::class)
data object proto : StreamFormat