API Reference
@ddgutierrezc/legato-contract defines the shared playback semantics used across Legato runtimes and consumers.
Use this section as the source of truth for transport-neutral types, event names, and error contracts.
Reference pages
Section titled “Reference pages”| Page | Description |
|---|---|
| Track | Track and TrackType, including per-track headers scope. |
| Playback State | PLAYBACK_STATES and PlaybackState canonical runtime states. |
| Snapshots | PlaybackSnapshot and QueueSnapshot projections. |
| Capabilities | CAPABILITIES and Capability runtime capability projections. |
| Events | Canonical event-name tuples and payload maps for player and remote events. |
| Errors | LegatoError, LegatoErrorCode, and LEGATO_ERROR_CODES. |
| Invariants | POSITION_MIN and LEGATO_INVARIANTS shared expectations. |
| Binding Adapter | BindingAdapter runtime boundary and related option/snapshot types. |