UZPlayerControlView
open class UZPlayerControlView: UIView
Undocumented
-
Undocumented
Declaration
Swift
open weak var delegate: UZPlayerControlViewDelegate?
-
Undocumented
Declaration
Swift
open var autoHideControlsInterval: TimeInterval = 5
-
Undocumented
Declaration
Swift
open var themeConfig: UZThemeConfig? = nil
-
Undocumented
Declaration
Swift
open var totalDuration:TimeInterval = 0
-
Undocumented
Declaration
Swift
open var tapGesture: UITapGestureRecognizer?
-
Undocumented
Declaration
Swift
open var doubleTapGesture: UITapGestureRecognizer?
-
Undocumented
Declaration
Swift
open var theme: UZPlayerTheme? = nil
-
Undocumented
Declaration
Swift
open var allButtons: [UIButton]!
-
Undocumented
Declaration
Swift
public let containerView = UIView() // this should be public
-
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 = NKButton()
-
Undocumented
Declaration
Swift
public let playpauseButton = NKButton()
-
Undocumented
Declaration
Swift
public let forwardButton = NKButton()
-
Undocumented
Declaration
Swift
public let backwardButton = NKButton()
-
Undocumented
Declaration
Swift
public let nextButton = NKButton()
-
Undocumented
Declaration
Swift
public let previousButton = NKButton()
-
Undocumented
Declaration
Swift
public let volumeButton = NKButton()
-
Undocumented
Declaration
Swift
public let backButton = NKButton()
-
Undocumented
Declaration
Swift
public let fullscreenButton = NKButton()
-
Undocumented
Declaration
Swift
public let playlistButton = NKButton()
-
Undocumented
Declaration
Swift
public let relateButton = NKButton()
-
Undocumented
Declaration
Swift
public let ccButton = NKButton()
-
Undocumented
Declaration
Swift
public let settingsButton = NKButton()
-
Undocumented
Declaration
Swift
public let helpButton = NKButton()
-
Undocumented
Declaration
Swift
public let pipButton = NKButton()
-
Undocumented
Declaration
Swift
public let castingButton = UZCastButton()
-
Undocumented
Declaration
Swift
public let enlapseTimeLabel = NKButton()
-
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: NVActivityIndicatorView? = nil
-
Undocumented
Declaration
Swift
public var endscreenView = UZEndscreenView()
-
Undocumented
Declaration
Swift
public var timeSlider: UZSlider!
-
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)
-
Undocumented
Declaration
Swift
open func prepareUI(for resource: UZPlayerResource, video: UZVideoItem?, playlist: [UZVideoItem]?)
-
Undocumented
Declaration
Swift
open func playStateDidChange(isPlaying: Bool)
-
Undocumented
Declaration
Swift
open func autoFadeOutControlView(after interval: TimeInterval)
-
Undocumented
Declaration
Swift
open func cancelAutoFadeOutAnimation()
-
Undocumented
Declaration
Swift
open func showControlView(duration: CGFloat = 0.3)
-
Undocumented
Declaration
Swift
open func hideControlView(duration: CGFloat = 0.3)
-
Undocumented
Declaration
Swift
open func showMessage(_ message: String)
-
Undocumented
Declaration
Swift
open func hideMessage()
-
Undocumented
Declaration
Swift
open func updateUI(_ isForFullScreen: Bool)
-
Undocumented
Declaration
Swift
open func showEndScreen()
-
Undocumented
Declaration
Swift
open func hideEndScreen()
-
Undocumented
Declaration
Swift
open func showLoader()
-
Undocumented
Declaration
Swift
open func hideLoader()
-
Undocumented
Declaration
Swift
open func showCoverWithLink(_ cover:String)
-
Undocumented
Declaration
Swift
open func showCover(url: URL?)
-
Undocumented
Declaration
Swift
open func hideCoverImageView()
-
Undocumented
Declaration
Swift
open func showCastingScreen()
-
Undocumented
Declaration
Swift
open func hideCastingScreen()
-
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)
-
Undocumented
Declaration
Swift
@objc open func progressSliderTouchBegan(_ sender: UISlider)
-
Undocumented
Declaration
Swift
@objc open func progressSliderValueChanged(_ sender: UISlider)
-
Undocumented
Declaration
Swift
@objc open func progressSliderTouchEnded(_ sender: UISlider)
-
Undocumented
Declaration
Swift
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool