LinkvDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | LinkvDelegate.h |
– onPlayerEvent:eventType:
播放器事件回调
- (void)onPlayerEvent:(LinkvPlayerController *)player eventType:(PlayEventType)eventType
Parameters
player |
播放器指针 |
---|---|
eventType |
播放器事件类型 |
Discussion
播放器事件回调
Declared In
LinkvDelegate.h
– onError:errorCode:
错误代理回调
- (void)onError:(LinkvPlayerController *)player errorCode:(PlayErrorCode)errorCode
Parameters
player |
播放器player指针 |
---|---|
errorCode |
播放器错误码,参考PlayErrorCode |
Discussion
错误代理回调
See Also
Declared In
LinkvDelegate.h
– onVideoSizeChanged:width:height:
视频宽高变化回调
- (void)onVideoSizeChanged:(LinkvPlayerController *)player width:(int)width height:(int)height
Parameters
player |
播放器指针 |
---|---|
width |
视频宽度 |
height |
视频高度 |
Discussion
视频宽高变化回调
Declared In
LinkvDelegate.h