harmony 鸿蒙AVPlayerCallback
AVPlayerCallback
Overview
The AVPlayerCallback struct contains the set of the OH_AVPlayerOnInfo and OH_AVPlayerOnInfo 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
|Name|Description|
|–|–|
|OH_AVPlayerOnInfo onInfo|Callback for AVPlayer process information. For details about the available options, see OH_AVPlayerOnInfo.
Since: 11
Deprecated from: 12
Substitute: OH_AVPlayerOnInfoCallback|
|OH_AVPlayerOnError onError|Callback for AVPlayer error information. For details about the available options, see OH_AVPlayerOnError.
Since: 11
Deprecated from: 12
Substitute: OH_AVPlayerOnErrorCallback|
你可能感兴趣的鸿蒙文章
harmony 鸿蒙OH_AVRecorder_Config
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦