Details
struct Details : View
SwiftUI View
for details of a Music Video
-
The
Music Video
to 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 Video
Declaration
Swift
@State private var musicVideo: Video.Details.MusicVideo { get nonmutating set }
-
Init the
View
Declaration
Swift
init(musicVideo: Video.Details.MusicVideo)
-
The body of the
View
Declaration
Swift
var body: some View { get }
-
The content of the
View
Declaration
Swift
var content: some View { get }
-
Update a Music Video
Declaration
Swift
func update(musicVideo: Video.Details.MusicVideo) -> Video.Details.MusicVideo?
Parameters
musicVideo
The current Music Video
Return Value
The updated Music Video