openharmony 鸿蒙 capi-avplayer-avplayercallback

2026-08-25 浏览 (1)

AVPlayerCallback

typedef struct AVPlayerCallback {...} AVPlayerCallback

Overview

The struct contains the set of the OH_AVPlayerOnInfo and OH_AVPlayerOnError callback function pointers. To ensure the normal running of OH_AVPlayer, you must register the instance of this struct with the OH_AVPlayer instance and process the information reported by the callback functions.

Since: 11

Deprecated from: 12

Substitute: OH_AVPlayerOnInfoCallback and OH_AVPlayerOnErrorCallback

Related module: AVPlayer

Header file: avplayer_base.h

Summary

Member Variables

NameDescription
OH_AVPlayerOnInfo onInfoCallback for AVPlayer process information. For details about the available options, see OH_AVPlayerOnInfo.
Since: 11
Deprecated from: 12
Substitute: OH_AVPlayerOnInfoCallback
OH_AVPlayerOnError onErrorCallback for AVPlayer error information. For details about the available options, see OH_AVPlayerOnError.
Since: 11
Deprecated from: 12
Substitute: OH_AVPlayerOnErrorCallback

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-avrecorder-oh-avrecorder-range

openharmony 鸿蒙 errorcode-media

openharmony 鸿蒙 capi-avplayer

openharmony 鸿蒙 capi-avplayer-base-h

openharmony 鸿蒙 capi-avimage-generator-h

openharmony 鸿蒙 capi-avscreencapture-oh-rect

openharmony 鸿蒙 capi-videoprocessing-videoprocessing-callback

openharmony 鸿蒙 capi-avsinkbase

openharmony 鸿蒙 capi-avmetadataextractor

openharmony 鸿蒙 capi-avscreencapture-oh-multidisplaycapability

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/5ymFF0Jg