Skip to main content

Interface: QueueHandlerOptions

Defined in: packages/media-session/src/queue-handler.ts:16

Properties

broadcaster?

optional broadcaster?: QueueBroadcaster;

Defined in: packages/media-session/src/queue-handler.ts:28

Where QueueHandlerMethods.setQueue publishes to. Defaults to the MediaService singleton, which is what an app wants; tests pass a fake.


wrapAround?

optional wrapAround?: boolean;

Defined in: packages/media-session/src/queue-handler.ts:23

skipToNext past the end lands on index 0, and skipToPrevious before the start lands on the last item.

Default

false