QueueView
struct QueueView: View
SwiftUI View
for the queue
-
The AppState model
Declaration
Swift
private var appState
-
The KodiConnector model
Declaration
Swift
private var kodi
-
The status of loading the queue
Declaration
Swift
private var status: ViewStatus = .loading
-
The list of items
Declaration
Swift
private var items: [any KodiItem] = []
-
Rotate the record
Declaration
Swift
private var rotate: Bool = false
-
The ID of the focussed scroll item
Declaration
Swift
private var scrollID: String?
-
The body of the
View
Declaration
Swift
var body: some View
-
The content of the View
Declaration
Swift
var content: some View
-
The list of items
Declaration
Swift
var itemsList: some View
-
Get the current playlist
Declaration
Swift
func getCurrentPlaylist()
-
SwiftUI
View
for a queue itemDeclaration
Swift
func queueItem(item: any KodiItem, single: Bool = false) -> some View
Parameters
item
The
KodiItem
single
Bool if there is only one item in the queue
Return Value
A View