UZPlayerControlView

open class UZPlayerControlView : UIView
extension UZPlayerControlView: UIGestureRecognizerDelegate

Undocumented

  • Undocumented

    Declaration

    Swift

    open weak var delegate: UZPlayerControlViewDelegate?
  • Undocumented

    Declaration

    Swift

    open var autoHideControlsInterval: TimeInterval
  • Undocumented

    Declaration

    Swift

    open var enableTimeshiftForLiveVideo: Bool
  • Undocumented

    Declaration

    Swift

    open var playerConfig: UZPlayerConfig? { get set }
  • Undocumented

    Declaration

    Swift

    open var logoEdgeInsetsWhenControlsInvisible: UIEdgeInsets
  • Undocumented

    Declaration

    Swift

    open var logoEdgeInsetsWhenControlsVisible: UIEdgeInsets
  • Undocumented

    Declaration

    Swift

    open var totalDuration: TimeInterval
  • Undocumented

    Declaration

    Swift

    open var tapGesture: UITapGestureRecognizer?
  • Undocumented

    Declaration

    Swift

    open var doubleTapGesture: UITapGestureRecognizer?
  • Undocumented

    Declaration

    Swift

    open var theme: UZPlayerTheme? { get set }
  • Undocumented

    Declaration

    Swift

    open lazy var allButtons: [UIButton]! { get set }
  • Undocumented

    Declaration

    Swift

    public let containerView: UIView
  • Undocumented

    Declaration

    Swift

    public let titleLabel: UILabel
  • Undocumented

    Declaration

    Swift

    public let currentTimeLabel: UILabel
  • Undocumented

    Declaration

    Swift

    public let totalTimeLabel: UILabel
  • Undocumented

    Declaration

    Swift

    public let remainTimeLabel: UILabel
  • Undocumented

    Declaration

    Swift

    public let playpauseCenterButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let playpauseButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let forwardButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let backwardButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let nextButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let previousButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let volumeButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let backButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let fullscreenButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let playlistButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let relateButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let ccButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let settingsButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let helpButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let pipButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let castingButton: UZCastButton
  • Undocumented

    Declaration

    Swift

    public let enlapseTimeLabel: UZButton
  • Undocumented

    Declaration

    Swift

    public let logoButton: UZButton
  • Undocumented

    Declaration

    Swift

    public let airplayButton: UZAirPlayButton
  • Undocumented

    Declaration

    Swift

    public let coverImageView: UIImageView
  • Undocumented

    Declaration

    Swift

    public let liveBadgeView: UZLiveBadgeView
  • Undocumented

    Declaration

    Swift

    public var loadingIndicatorView: UIActivityIndicatorView?
  • Undocumented

    Declaration

    Swift

    public var endscreenView: UZEndscreenView
  • Undocumented

    Declaration

    Swift

    public var timeSlider: UZSlider! { get set }
  • Undocumented

    Declaration

    Swift

    public init()
  • Undocumented

    Declaration

    Swift

    required public init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    open func configUI()
  • Undocumented

    Declaration

    Swift

    override open func layoutSubviews()
  • Undocumented

    Declaration

    Swift

    open func playTimeDidChange(currentTime: TimeInterval, totalTime: TimeInterval)
  • Undocumented

    Declaration

    Swift

    open func loadedTimeDidChange(loadedDuration: TimeInterval, totalDuration: TimeInterval)
  • Undocumented

    Declaration

    Swift

    open func playerStateDidChange(state: UZPlayerState)

UI update related function

Action

  • Undocumented

    Declaration

    Swift

    @objc
    open func onButtonPressed(_ button: UIButton)
  • Undocumented

    Declaration

    Swift

    @objc
    open func onTap(_ gesture: UITapGestureRecognizer)
  • Undocumented

    Declaration

    Swift

    @objc
    open func onDoubleTap(_ gesture: UITapGestureRecognizer)

Handle slider actions