Details
struct Details : View
SwiftUI View for details of a Music Video
-
The
Music Videoto showDeclaration
Swift
let selectedMusicVideo: Video.Details.MusicVideo -
The SceneState model
Declaration
Swift
@Environment private var scene: SceneState { get } -
The KodiConnector model
Declaration
Swift
@Environment private var kodi: KodiConnector { get } -
The state values of the
Music VideoDeclaration
Swift
@State private var musicVideo: Video.Details.MusicVideo { get nonmutating set } -
Init the
ViewDeclaration
Swift
init(musicVideo: Video.Details.MusicVideo)
-
The body of the
ViewDeclaration
Swift
var body: some View { get }
-
The content of the
ViewDeclaration
Swift
var content: some View { get } -
Update a Music Video
Declaration
Swift
func update(musicVideo: Video.Details.MusicVideo) -> Video.Details.MusicVideo?Parameters
musicVideoThe current Music Video
Return Value
The updated Music Video
View on GitHub
Details Structure Reference