SerializedByteValue

annotation class SerializedByteValue(val value: Byte)

Annotation added for serializing using BluetoothFormat

Can be added to elements of an Enum or Polymorphic class. This replaces serializing using the encoded SerialName with value

Properties

Link copied to clipboard
val value: Byte

the value to use as an identifier of an enum case / polymorphic type