VOD 相关回调
protocol TXVodPlayListener-p |
构造函数 | |
(void) | - onPlayEvent:event:withParam: |
(void) | - onNetStatus:withParam: |
(void) | - onPlayer:pictureInPictureStateDidChange:withParam: |
(void) | - onPlayer:pictureInPictureErrorDidOccur:withParam: |
- (void) onNetStatus: | (TXVodPlayer *) | player | |
withParam: | (NSDictionary *) | param | |
网络状态通知
player | 点播对象 |
param | 通知的内容(key,value)格式,参见TXLiveSDKTypeDef.h |
- (void) onPlayer: | (TXVodPlayer *) | player | |
pictureInPictureErrorDidOccur: | (TX_VOD_PLAYER_PIP_ERROR_TYPE) | errorType | |
withParam: | (NSDictionary *) | param | |
画中画错误状态回调
player | 播放器对象 |
errorType | 播放器画中画错误状态码,详细见TXVodSDKEventDef.h |
param | 回调信息内容详情 |
- (void) onPlayer: | (TXVodPlayer *) | player | |
pictureInPictureStateDidChange: | (TX_VOD_PLAYER_PIP_STATE) | pipState | |
withParam: | (NSDictionary *) | param | |
画中画状态回调
player | 播放器对象 |
pipState | 播放器画中画功能的状态,详细见TXVodSDKEventDef.h |
param | 回调信息内容详情 |
- (void) onPlayEvent: | (TXVodPlayer *) | player | |
event: | (int) | EvtID | |
withParam: | (NSDictionary *) | param | |
点播事件通知
player | 点播对象 |
event | 事件id,参见TXLiveSDKTypeDef.h |
param | 事件相关的参数(key,value)格式,参见TXLiveSDKTypeDef.h |