Package-level declarations
The complete public API of the TAKPacket-SDK Kotlin binding: the six core CoT/compression classes listed above, the TakPacketV2Data data model (26 envelope fields plus the Payload sealed hierarchy of typed variants), and supporting types such as ZstdException.
Types
Bidirectional lookup between ATAK's 14-color palette and the Meshtastic Team protobuf enum values. Used by the CoT parser/builder to encode stroke/fill/marker colors as a 1–2 byte enum on the wire when the source ARGB matches a palette entry, falling back to the exact _argb fixed32 field when it doesn't.
Stateless CoT-XML hygiene for LoRa-mesh transport.
Maps CoT type strings (e.g. "a-f-G-U-C") to integer enum values matching the CotType enum in atak.proto, and back.
Reconstructs a CoT (Cursor-on-Target) XML event string from a TakPacketV2Data.
Parses a CoT (Cursor-on-Target) XML event string into a TakPacketV2Data.
Loads and provides zstd compression dictionaries.
The default Logger: discards every message. Used as a sentinel so trace can short-circuit (and skip building the message string) when no real logger is installed.
Compresses TAKPacketV2 protobuf bytes using zstd with pre-trained dictionaries, and decompresses received wire payloads back to protobuf bytes.
Global, mutable holder for the SDK's diagnostic Logger.
Platform-agnostic data model for a TAKPacketV2 — the SDK's internal representation, decoupled from any specific protobuf library.
Serializes/deserializes TakPacketV2Data to/from protobuf wire format using Wire-generated Kotlin classes (com.squareup.wire).
Thrown when the underlying zstd codec fails to compress or decompress a frame.