Skip to main content

Interface: CastQueueItemSnapshot

Defined in: packages/cast/src/specs/cast.nitro.ts:188

One row of the sender-side queue mirror.

The mirror is sparse by SDK design: the sender caches a window of items and fetches the rest lazily. resolved: false means the row is not cached yet — requesting it (via RnMediaCast.fetchQueueSlice) triggers a background fetch and a later queueChanged event when the cache fills.

Properties

artist?

optional artist?: string;

Defined in: packages/cast/src/specs/cast.nitro.ts:196


itemId

itemId: number;

Defined in: packages/cast/src/specs/cast.nitro.ts:190

Receiver-assigned item id. Stable for the life of the queue.


mimeType?

optional mimeType?: string;

Defined in: packages/cast/src/specs/cast.nitro.ts:194


resolved

resolved: boolean;

Defined in: packages/cast/src/specs/cast.nitro.ts:192

true when the item's media info is in the sender cache.


title?

optional title?: string;

Defined in: packages/cast/src/specs/cast.nitro.ts:195


url?

optional url?: string;

Defined in: packages/cast/src/specs/cast.nitro.ts:193