UZFloatingPlayerViewController
open class UZFloatingPlayerViewController : UIViewController, NKFloatingViewHandlerProtocol
Undocumented
-
Undocumented
Declaration
Swift
public private(set) var playerWindow: UIWindow?
-
Undocumented
Declaration
Swift
public var playerViewController: UZPlayerViewController! { get set }
-
Undocumented
Declaration
Swift
public private(set) var player: UZPlayer?
-
Undocumented
Declaration
Swift
public let detailsContainerView: UIView
-
Undocumented
Declaration
Swift
public var playerRatio: CGFloat
-
Undocumented
Declaration
Swift
public var autoDetectPortraitVideo: Bool
-
Undocumented
Declaration
Swift
public weak var delegate: UZFloatingPlayerViewProtocol?
-
Undocumented
Declaration
Swift
public var videoItem: UZVideoItem? { get set }
-
Undocumented
Declaration
Swift
public var videoItems: [UZVideoItem]? { get set }
-
Undocumented
Declaration
Swift
public var onDismiss: (() -> Void)?
-
Undocumented
Declaration
Swift
public var onFloatingProgress: ((UZFloatingPlayerViewController, CGFloat) -> Void)?
-
Undocumented
Declaration
Swift
public var onFloating: ((UZFloatingPlayerViewController) -> Void)?
-
Undocumented
Declaration
Swift
public var onUnfloating: ((UZFloatingPlayerViewController) -> Void)?
-
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
@discardableResult open func present(with videoItem: UZVideoItem? = nil, playlist: [UZVideoItem]? = nil) -> UZPlayerViewController
-
Undocumented
Declaration
Swift
override open func dismiss(animated flag: Bool, completion: (() -> Void)? = nil)
-
Undocumented
Declaration
Swift
open func playResource(_ resource: UZPlayerResource)
-
Undocumented
Declaration
Swift
open func stop()
-
Undocumented
Declaration
Swift
override open func viewDidLoad()
-
Undocumented
Declaration
Swift
override open func viewWillLayoutSubviews()
-
Undocumented
Declaration
Swift
override open var prefersStatusBarHidden: Bool { get }
-
Undocumented
Declaration
Swift
override open var shouldAutorotate: Bool { get }
-
Undocumented
Declaration
Swift
override open var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { get }
-
Undocumented
Declaration
Swift
override open var supportedInterfaceOrientations: UIInterfaceOrientationMask { get }
-
Undocumented
Declaration
Swift
open var containerView: UIView! { get }
-
Undocumented
Declaration
Swift
open var gestureView: UIView! { get }
-
Undocumented
Declaration
Swift
open var fullRect: CGRect { get }
-
Undocumented
Declaration
Swift
open func floatingRect(for position: NKFloatingPosition) -> CGRect
-
Undocumented
Declaration
Swift
open func floatingHandlerDidDragging(with progress: CGFloat)
-
Undocumented
Declaration
Swift
open func floatingHandlerDidDismiss()