QCBasicMediaControlView Class Reference

Inherits from QCMediaControlView : UIView
Declared in QCBasicMediaControlView.h

Overview

视频播放控制器界面类,继承QCMediaControlView,只实现基本视频控制逻辑和界面

– setBasicControl:

设置基本播放控制器协议,播放器页面的响应事件由该协议来实现。

- (void)setBasicControl:(id<QCBasicMediaControlProtocol>)basicMediaControlProtocol

Declared In

QCBasicMediaControlView.h

– autoFadeOutControlView

延迟隐藏控制层

- (void)autoFadeOutControlView

Declared In

QCBasicMediaControlView.h

– showControl

显示控制层

- (void)showControl

Declared In

QCBasicMediaControlView.h

– hideControl

隐藏控制层

- (void)hideControl

Declared In

QCBasicMediaControlView.h

– showFastView:totalTime:isForward:

显示悬浮快进视图层,出现该视图层时,可以通过屏幕左右拖动手势进行视频定位

- (void)showFastView:(NSInteger)draggedTime totalTime:(NSInteger)totalTime isForward:(BOOL)forward

Parameters

draggedTime

已播放时间,单位毫秒

totalTime

视频总时间,单位毫秒

forward

拖动方向

Declared In

QCBasicMediaControlView.h

– hideFastView

隐藏快进视图

- (void)hideFastView

Declared In

QCBasicMediaControlView.h