UZFloatingPlayerViewController
open class UZFloatingPlayerViewController: UIViewController, NKFloatingViewHandlerProtocol
Undocumented
-
Undocumented
Declaration
Swift
public private(set) var playerWindow: UIWindow?
-
Undocumented
Declaration
Swift
public private(set) var playerViewController: UZPlayerViewController!
-
Undocumented
Declaration
Swift
public private(set) var player: UZPlayer!
-
Undocumented
Declaration
Swift
public let detailsContainerView = UIView()
-
Undocumented
Declaration
Swift
public var playerRatio: CGFloat = 9/16
-
Undocumented
Declaration
Swift
public weak var delegate: UZFloatingPlayerViewProtocol? = nil
-
Undocumented
Declaration
Swift
public var videoItem: UZVideoItem? = nil
-
Undocumented
Declaration
Swift
public var videoItems: [UZVideoItem]? = nil
-
Undocumented
Declaration
Swift
public var onDismiss : (() -> Void)? = nil
-
Undocumented
Declaration
Swift
public var onFloatingProgress : ((UZFloatingPlayerViewController, CGFloat) -> Void)? = nil
-
Undocumented
Declaration
Swift
public var onFloating : ((UZFloatingPlayerViewController) -> Void)? = nil
-
Undocumented
Declaration
Swift
public var onUnfloating : ((UZFloatingPlayerViewController) -> Void)? = nil
-
Undocumented
Declaration
Swift
public private(set) var floatingHandler: NKFloatingViewHandler?
-
Undocumented
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public convenience init(customPlayerViewController: UZPlayerViewController!)
-
Undocumented
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
open func present(with videoItem:UZVideoItem? = nil, playlist: [UZVideoItem]? = nil) -> UZPlayerViewController
-
Undocumented
Declaration
Swift
open func playResource(_ resource: UZPlayerResource)
-
Undocumented
Declaration
Swift
open func stop()
-
Undocumented
Declaration
Swift
override open func dismiss(animated flag: Bool, completion: (() -> Void)? = nil)
-
Undocumented
Declaration
Swift
override open func viewDidLoad()
-
Undocumented
Declaration
Swift
override open func viewDidLayoutSubviews()
-
Undocumented
Declaration
Swift
override open var prefersStatusBarHidden: Bool
-
Undocumented
Declaration
Swift
override open var shouldAutorotate: Bool
-
Undocumented
Declaration
Swift
override open var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation
-
Undocumented
Declaration
Swift
override open var supportedInterfaceOrientations: UIInterfaceOrientationMask
-
Undocumented
Declaration
Swift
open var containerView: UIView!
-
Undocumented
Declaration
Swift
open var gestureView: UIView!
-
Undocumented
Declaration
Swift
open var fullRect: CGRect
-
Undocumented
Declaration
Swift
open var floatingRect: CGRect
-
Undocumented
Declaration
Swift
open var panGesture: UIPanGestureRecognizer!
-
Undocumented
Declaration
Swift
open func floatingHandlerDidDragging(with progress: CGFloat)
-
Undocumented
Declaration
Swift
open func floatingHandlerDidDismiss()