Play
struct Play : View
The ‘play’ button
-
The
KodiItemto playDeclaration
Swift
var item: any KodiItem -
Bool if the player will be presented
Declaration
Swift
@State private var isPresented: Bool { get nonmutating set } -
The media item to pass to the player
Declaration
Swift
private var video: MediaItem { get } -
Open Window environment
Declaration
Swift
@Environment var openWindow: OpenWindowAction { get } -
The button action
Declaration
Swift
private var action: () { get } -
The button action
-
The body of the
ViewDeclaration
Swift
var body: some View { get }
View on GitHub
Play Structure Reference