SceneState
class SceneState
Class to observe the current Komodio Scene state (shared)
-
Bool to show the Kodi Settings View
-
Sidebar focus toggle
-
Sidebar focus state
-
Router
The main selection of the router
Declaration
Swift
var mainSelection: Router { get set } -
The Navigation stack path of the router
Declaration
Swift
var navigationStack: [Router] { get set } -
The detail selection of the router
Declaration
Swift
var detailSelection: Router { get set } -
Search
Declaration
Swift
var query: String { get set } -
Other stuff
The settings to sort a list
Declaration
Swift
var listSortSettings: [SwiftlyKodiAPI.List.Sort] { get set } -
Movie ID’s passed around Views
Declaration
Swift
var movieItems: [Int] { get set } -
The list style of collections
Declaration
Swift
var collectionStyle: ScrollCollectionStyle { get set } -
Show the inspector (macOS)
Declaration
Swift
var showInspector: Bool { get set } -
updateSearch(query:Asynchronous) Update the search query
Declaration
Swift
@MainActor func updateSearch(query: String) asyncParameters
queryThe query in the UI
View on GitHub
SceneState Class Reference