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 notDeclaration
Swift
var showState: Bool
-
Bool to fade the
state
button 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
View
Declaration
Swift
var body: some View { get }