1# AVPlayerCallback 2 3 4## Overview 5 6The 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. 7 8**System capability**: SystemCapability.Multimedia.Media.AVPlayer 9 10**Since**: 11 11 12**Deprecated from**: 12 13 14**Substitute**: [OH_AVPlayerOnInfoCallback](_a_v_player.md#oh_avplayeroninfocallback) and [OH_AVPlayerOnErrorCallback](_a_v_player.md#oh_avplayeronerrorcallback) 15 16**Related module**: [AVPlayer](_a_v_player.md) 17 18**Header file**: [avplayer_base.h](avplayer__base_8h.md) 19 20## Summary 21 22 23### Member Variables 24 25| Name| Description| 26| -------- | -------- | 27| [onInfo](_a_v_player.md#oninfo) | AVPlayer process information. For details, see [OH_AVPlayerOnInfo](_a_v_player.md#oh_avplayeroninfo).| 28| [onError](_a_v_player.md#onerror) | AVPlayer error information. For details, see [OH_AVPlayerOnError](_a_v_player.md#oh_avplayeronerror).| 29