VideoPlaybackControlView.Content
The type describing the content of the view.
public struct Content
Initializers
init(videoDuration:videoState:playingProgress:)
public init(
videoDuration: TimeInterval,
videoState: VideoState,
playingProgress: Double
)
Properties
videoDuration
A video duration in seconds.
public var videoDuration: TimeInterval
videoState
A video playback state.
public var videoState: VideoState
playingProgress
A video playback progress in [0...1] range
public var playingProgress: Double
currentTime
A current location in video.
public var currentTime: TimeInterval
initial
public static var initial: Self