GATTOperationType

@Serializable(with = GATTOperationTypeSerializer::class)
sealed interface GATTOperationType

Indicates the various types of GATT event.

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = GATTOperationTypeSerializer::class)
data object connection : GATTOperationType
Link copied to clipboard
@Serializable(with = GATTOperationTypeSerializer::class)
data object discovery : GATTOperationType
Link copied to clipboard
@Serializable(with = GATTOperationTypeSerializer::class)
data class NotDefinedInProtocol(val value: String) : GATTOperationType

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