PayloadKind
const PayloadKind: object;Defined in: src/protocol/onAirPackets.ts:37
Named constants for the OnAirPayload kind discriminant, so consumers
branch on readable names instead of bare strings:
case PayloadKind.GRP_TXT (=== ‘grpTxt’). Values equal the kind literals, so
the constant and the raw string are interchangeable and both narrow payload.
Distinct from the numeric wire enum PAYLOAD_TYPE (keys header.payloadType).
Type Declaration
Section titled “Type Declaration”readonly ACK: "ack" = 'ack';ADVERT
Section titled “ADVERT”readonly ADVERT: "advert" = 'advert';ANON_REQ
Section titled “ANON_REQ”readonly ANON_REQ: "anonReq" = 'anonReq';CONTROL_DISCOVER_REQ
Section titled “CONTROL_DISCOVER_REQ”readonly CONTROL_DISCOVER_REQ: "controlDiscoverReq" = 'controlDiscoverReq';CONTROL_DISCOVER_RESP
Section titled “CONTROL_DISCOVER_RESP”readonly CONTROL_DISCOVER_RESP: "controlDiscoverResp" = 'controlDiscoverResp';CONTROL_OTHER
Section titled “CONTROL_OTHER”readonly CONTROL_OTHER: "controlOther" = 'controlOther';GRP_TXT
Section titled “GRP_TXT”readonly GRP_TXT: "grpTxt" = 'grpTxt';readonly PATH: "path" = 'path';readonly RAW: "raw" = 'raw';readonly REQ: "req" = 'req';RESPONSE
Section titled “RESPONSE”readonly RESPONSE: "response" = 'response';readonly TRACE: "trace" = 'trace';TXT_MSG
Section titled “TXT_MSG”readonly TXT_MSG: "txtMsg" = 'txtMsg';