EZOpenSDK  v4.7.1
 All Classes Functions Properties
Instance Methods | List of all members
<EZPlayerDelegate> Protocol Reference

Player delegate. More...

#import <EZPlayer.h>

Inheritance diagram for <EZPlayerDelegate>:

Instance Methods

(void) - player:didPlayFailed:
 
(void) - player:didReceivedMessage:
 
(void) - player:didReceivedDataLength:
 
(void) - player:didReceivedDisplayHeight:displayWidth:
 

Detailed Description

Player delegate.

Method Documentation

- (void) player: (EZPlayer *)  player
didPlayFailed: (NSError *)  error 
optional

Player failed callback

Parameters
playerEZPlayer object
errorError object.The error code is detailed in EZErrorCode.
- (void) player: (EZPlayer *)  player
didReceivedDataLength: (NSInteger)  dataLength 
optional

Receive date length(invokei once per second)

Parameters
playerEZPlayer object
dataLengthdate length(bytes during one second)
- (void) player: (EZPlayer *)  player
didReceivedDisplayHeight: (NSInteger)  height
displayWidth: (NSInteger)  width 
optional

Length and width of Picture

Parameters
playerEZPlayer object
heightheight
widthwidth
- (void) player: (EZPlayer *)  player
didReceivedMessage: (NSInteger)  messageCode 
optional

Player message code callback

Parameters
playerEZPlayer object
messageCodeMessage code.Message code is detailed in EZMessageCode.

The documentation for this protocol was generated from the following file: