• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# AVPlayerCallback
2
3
4## Overview
5
6The **AVPlayerCallback** struct defines all the callback function pointers of an **OH_AVPlayer** instance. 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.
7
8**System capability**: SystemCapability.Multimedia.Media.AVPlayer
9
10**Since**: 11
11
12**Related module**: [AVPlayer](_a_v_player.md)
13
14
15## Summary
16
17
18### Member Variables
19
20| Name| Description|
21| -------- | -------- |
22| [onInfo](_a_v_player.md#oninfo) | Defines the AVPlayer process information. For details, see [OH_AVPlayerOnInfo](_a_v_player.md#oh_avplayeroninfo).|
23| [onError](_a_v_player.md#onerror) | Defines the AVPlayer error information. For details, see [OH_AVPlayerOnError](_a_v_player.md#oh_avplayeronerror).|
24