AliyunAETemplatePlayerDelegate

@protocol AliyunAETemplatePlayerDelegate <NSObject>

播放回调 API_AVAILABLE(3.35.0)

  • 已完成加载

    Declaration

    Objective-C

    - (void)playerDidLoaded;
  • 播放结束

    Declaration

    Objective-C

    - (void)playerDidEnd;
  • 播放进度

    Declaration

    Objective-C

    - (void)playProgress:(double)progress;

    Parameters

    progress

    进度,[0,1]

  • 播放出错

    Declaration

    Objective-C

    - (void)playError:(NSInteger)errorCode;

    Parameters

    errorCode

    错误码