LiteAVSDK
Tencent Cloud TRTC SDK, is a high availability components serving tens of thousands of enterprise customers, which is committed to helping you to minimize your research and development costs.
TXVodPlayListener

Data Structures

protocol  <TXVodPlayListener>
 

Detailed Description

The VOD callback notification.


Data Structure Documentation

◆ TXVodPlayListener-p

protocol TXVodPlayListener-p
+ Inheritance diagram for <TXVodPlayListener>:

Instance Methods

(void) - onPlayEvent:event:withParam:
 
(void) - onNetStatus:withParam:
 
(void) - onPlayer:pictureInPictureStateDidChange:withParam:
 
(void) - onPlayer:pictureInPictureErrorDidOccur:withParam:
 

Method Documentation

◆ onNetStatus:withParam:()

- (void) onNetStatus: (TXVodPlayer *)  player
withParam: (NSDictionary *)  param 

Network status notification.

Parameters
playerThe VOD object
paramThe notification content in (key,value) format. For more information, see TXLiveSDKTypeDef.h

◆ onPlayer:pictureInPictureErrorDidOccur:withParam:()

- (void) onPlayer: (TXVodPlayer *)  player
pictureInPictureErrorDidOccur: (TX_VOD_PLAYER_PIP_ERROR_TYPE errorType
withParam: (NSDictionary *)  param 

The callback for PiP status.

◆ onPlayer:pictureInPictureStateDidChange:withParam:()

- (void) onPlayer: (TXVodPlayer *)  player
pictureInPictureStateDidChange: (TX_VOD_PLAYER_PIP_STATE pipState
withParam: (NSDictionary *)  param 

The callback for PiP status.

◆ onPlayEvent:event:withParam:()

- (void) onPlayEvent: (TXVodPlayer *)  player
event: (int)  EvtID
withParam: (NSDictionary *)  param 

The VOD event notification.

Parameters
playerThe VOD object
eventThe event ID. For more information, see TXLiveSDKTypeDef.h
paramThe event parameters in (key,value) format. For more information, see TXLiveSDKTypeDef.h