FritzVideoView

open class FritzVideoView : UIView
  • The video to play and apply filters on. Prepares view for playback upon setting.

    Declaration

    Swift

    public var fritzVideo: FritzVisionVideo? { get set }
  • Declaration

    Swift

    public var isPlaying: Bool { get }
  • Declaration

    Swift

    public required init?(coder: NSCoder)
  • Initialize as an empty view.

    Declaration

    Swift

    public init()
  • Initializes with an existing FritzVisionVideo.

    Declaration

    Swift

    public init(source: FritzVisionVideo)

    Parameters

    source

    the video to preview.

  • Plays the video using configured video options.

    Declaration

    Swift

    public func play()
  • Pauses the video.

    Declaration

    Swift

    public func pause()
  • Stops the video and removes all components of the view.

    Declaration

    Swift

    public func stop()
  • Seeks to the desired time of the video.

    Declaration

    Swift

    public func seek(to time: TimeInterval)

    Parameters

    time

    the time to seek to