ToolbarView

struct ToolbarView: ViewModifier

SwiftUI ViewModifier for the toolbar

  • The KodiConnector model

    Declaration

    Swift

    private var kodi
  • Placement of the toolbar

    Declaration

    Swift

    let placement: ToolbarItemPlacement = .automatic
  • The toolbar

    Declaration

    Swift

    func body(content: Content) -> some View
  • The ‘Now Playing’ View

    See more

    Declaration

    Swift

    struct NowPlaying: View

Progress of the playing item

  • SwiftUI View for the progess of the current item in the player

    See more

    Declaration

    Swift

    struct NowPlayingProgressView: View
  • SwiftUI View for the progress

    Note

    animating this View cost a lot of CPU
    See more

    Declaration

    Swift

    struct ProgressTimelineView: View
  • The SwiftUI ProgressViewStyle

    See more

    Declaration

    Swift

    struct NowPlayingProgressViewStyle: ProgressViewStyle
  • Partymode button (forced to audio)

    Note

    This will set ‘Party Mode’ for audio, I don’t see a use of videos for this
    See more

    Declaration

    Swift

    struct SetPartyMode: View