Player
struct Player : View
The ‘play’, ‘resume’ and optional ‘played state’ buttons
-
The
KodiItemDeclaration
Swift
var item: any KodiItem -
Bool to show the
statebutton or notDeclaration
Swift
var showState: Bool -
Bool to fade the
statebutton on focus or notDeclaration
Swift
var fadeStateButton: Bool -
The focus state of the player buttons
Declaration
Swift
@FocusState var isFocused: Bool { get nonmutating set }
-
The body of the
ViewDeclaration
Swift
var body: some View { get }
View on GitHub
Player Structure Reference