Interface: ElementsSeatingManager
Interface: ElementsSeatingManager in @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#
| Parameter | Type |
|---|---|
occurrenceId | string |
request | BestAvailableRequest |
Returns#
Promise<BestAvailableAnswer>
getChunk()#
getChunk(occurrenceId: string, chunk: string): Promise<SeatChunk>;Defined in: elements.ts:222
Parameters#
| Parameter | Type |
|---|---|
occurrenceId | string |
chunk | string |
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#
| Parameter | Type |
|---|---|
occurrenceId | string |
path | string |
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#
| Parameter | Type |
|---|---|
occurrenceId | string |
path | string |
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#
| Parameter | Type |
|---|---|
occurrenceId | string |
Returns#
Promise<SeatmapModel | null>
getPointer()#
getPointer(occurrenceId: string): Promise<SeatmapPointer | null>;Defined in: elements.ts:220
Parameters#
| Parameter | Type |
|---|---|
occurrenceId | string |
Returns#
Promise<SeatmapPointer | null>
getSeatmap()#
getSeatmap(occurrenceId: string): Promise<Seatmap>;Defined in: elements.ts:221
Parameters#
| Parameter | Type |
|---|---|
occurrenceId | string |
Returns#
Promise<Seatmap>
getStatus()#
getStatus(occurrenceId: string): Promise<SeatStatus | null>;Defined in: elements.ts:234
Parameters#
| Parameter | Type |
|---|---|
occurrenceId | string |
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#
| Parameter | Type |
|---|---|
occurrenceId | string |
Returns#
ElementTicketType[] | null
getView()#
getView(occurrenceId: string, seat: number): Promise<SeatView | null>;Defined in: elements.ts:223
Parameters#
| Parameter | Type |
|---|---|
occurrenceId | string |
seat | number |
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#
| Parameter | Type |
|---|---|
occurrenceId | string |
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#
| Parameter | Type |
|---|---|
occurrenceId | string |
views | string |
Returns#
Promise<SeatViews>
watchStatus()#
watchStatus(occurrenceId: string, callback: (status: SeatStatus) => void): () => void;Defined in: elements.ts:235
Parameters#
| Parameter | Type |
|---|---|
occurrenceId | string |
callback | (status: SeatStatus) => void |
Returns#
() => void