SubtitleQueue Class
First in, first out queue for concurrently displayed subtitles
Declared on: line 84 of Lua/dialogs/subtitles.lua.
Member Index
- count
- subtitles
function SubtitleQueue:SubtitleQueue()
SubtitleQueue constructor
Declared on: line 90 of Lua/dialogs/subtitles.lua.
function SubtitleQueue:isEmpty()
Returns true if the queue is empty, false otherwise
Declared on: line 111 of Lua/dialogs/subtitles.lua.
function SubtitleQueue:pop()
Removes subtitle text at the top of the queue
Declared on: line 103 of Lua/dialogs/subtitles.lua.
function SubtitleQueue:push(subtitle)
Pushes subtitle text to the queue for display
Parameters:
| Name | Type | Description |
|---|---|---|
| subtitle | string | Subtitle text to display |
Declared on: line 96 of Lua/dialogs/subtitles.lua.