Player

struct Player : View

The ‘play’, ‘resume’ and optional ‘played state’ buttons

  • The KodiItem

    Declaration

    Swift

    var item: any KodiItem
  • Bool to show the state button or not

    Declaration

    Swift

    var showState: Bool
  • Bool to fade the state button on focus or not

    Declaration

    Swift

    var fadeStateButton: Bool
  • The focus state of the player buttons

    Declaration

    Swift

    @FocusState
    var isFocused: Bool { get nonmutating set }

Body of the View

  • The body of the View

    Declaration

    Swift

    var body: some View { get }