Skip to content
Docs
Reference

Interface: ElementsSeatingManager

Interface: ElementsSeatingManager in @ticketlayer/live.

@ticketlayer/live


@ticketlayer/live / index / ElementsSeatingManager

Defined in: elements.ts:219

What the Elements read of the seat map.

Methods#

bestAvailable()#

bestAvailable(occurrenceId: string, request: BestAvailableRequest): Promise<BestAvailableAnswer>;

Defined in: elements.ts:239

Best available: a few options that differ, never the rank. Nothing is held.

Parameters#

ParameterType
occurrenceIdstring
requestBestAvailableRequest

Returns#

Promise<BestAvailableAnswer>


getChunk()#

getChunk(occurrenceId: string, chunk: string): Promise<SeatChunk>;

Defined in: elements.ts:222

Parameters#

ParameterType
occurrenceIdstring
chunkstring

Returns#

Promise<SeatChunk>


getMedia()#

getMedia(occurrenceId: string, path: string): Promise<SeatMedia>;

Defined in: elements.ts:227

One published image (a row atlas, a still, a panorama tile) as bytes, read with the token the element never sees.

Parameters#

ParameterType
occurrenceIdstring
pathstring

Returns#

Promise<SeatMedia>


getMesh()#

getMesh(occurrenceId: string, path: string): Promise<SeatMedia>;

Defined in: elements.ts:233

One display mesh as bytes, read with the token the element never sees.

Parameters#

ParameterType
occurrenceIdstring
pathstring

Returns#

Promise<SeatMedia>


getModel()#

getModel(occurrenceId: string): Promise<SeatmapModel | null>;

Defined in: elements.ts:231

The venue model, a display mesh per level, or null when the version has none.

Parameters#

ParameterType
occurrenceIdstring

Returns#

Promise<SeatmapModel | null>


getPointer()#

getPointer(occurrenceId: string): Promise<SeatmapPointer | null>;

Defined in: elements.ts:220

Parameters#

ParameterType
occurrenceIdstring

Returns#

Promise<SeatmapPointer | null>


getSeatmap()#

getSeatmap(occurrenceId: string): Promise<Seatmap>;

Defined in: elements.ts:221

Parameters#

ParameterType
occurrenceIdstring

Returns#

Promise<Seatmap>


getStatus()#

getStatus(occurrenceId: string): Promise<SeatStatus | null>;

Defined in: elements.ts:234

Parameters#

ParameterType
occurrenceIdstring

Returns#

Promise<SeatStatus | null>


getTicketTypes()#

getTicketTypes(occurrenceId: string): ElementTicketType[] | null;

Defined in: elements.ts:237

The ticket types an offers read has brought in for an occurrence, or null.

Parameters#

ParameterType
occurrenceIdstring

Returns#

ElementTicketType[] | null


getView()#

getView(occurrenceId: string, seat: number): Promise<SeatView | null>;

Defined in: elements.ts:223

Parameters#

ParameterType
occurrenceIdstring
seatnumber

Returns#

Promise<SeatView | null>


getViewpoints()#

getViewpoints(occurrenceId: string): Promise<SeatViewpoints | null>;

Defined in: elements.ts:225

Where each row's stills and panorama are, or null when the version publishes none.

Parameters#

ParameterType
occurrenceIdstring

Returns#

Promise<SeatViewpoints | null>


getViews()#

getViews(occurrenceId: string, views: string): Promise<SeatViews>;

Defined in: elements.ts:229

One block's views (every seat's eye), for the explorer's 3D mode.

Parameters#

ParameterType
occurrenceIdstring
viewsstring

Returns#

Promise<SeatViews>


watchStatus()#

watchStatus(occurrenceId: string, callback: (status: SeatStatus) => void): () => void;

Defined in: elements.ts:235

Parameters#

ParameterType
occurrenceIdstring
callback(status: SeatStatus) => void

Returns#

() => void