SceneState

class SceneState

Class to observe the current Komodio Scene state (shared)

tvOS stuff

Shared stuff

  • 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) async

    Parameters

    query

    The query in the UI