• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# native_avsession_errors.h
2<!--Kit: AVSession Kit-->
3<!--Subsystem: Multimedia-->
4<!--Owner: @ccfriend; @liao_qian-->
5<!--SE: @ccfriend-->
6<!--TSE: @chenmingxi1_huawei-->
7
8## Overview
9
10The file declares the playback control error codes.
11
12**File to include**: <multimedia/av_session/native_avsession_errors.h>
13
14**Library**: libohavsession.so
15
16**System capability**: SystemCapability.Multimedia.AVSession.Core
17
18**Since**: 13
19
20**Related module**: [OHAVSession](capi-ohavsession.md)
21
22## Summary
23
24### Enums
25
26| Name| typedef Keyword| Description|
27| -- | -- | -- |
28| [AVSession_ErrCode](#avsession_errcode) | AVSession_ErrCode | Enumerates the playback control error codes.|
29
30## Enums
31
32### AVSession_ErrCode
33
34```
35enum AVSession_ErrCode
36```
37
38**Description**
39
40Enumerates the playback control error codes.
41
42**Since**: 13
43
44| Enum Item| Description|
45| -- | -- |
46| AV_SESSION_ERR_SUCCESS = 0 | The operation is successful.|
47| AV_SESSION_ERR_INVALID_PARAMETER = 401 | Parameter check fails.|
48| AV_SESSION_ERR_SERVICE_EXCEPTION = 6600101 | The session server is abnormal.|
49| AV_SESSION_ERR_CODE_SESSION_NOT_EXIST = 6600102 | The session does not exist.|
50| AV_SESSION_ERR_CODE_COMMAND_INVALID = 6600105 | The session command is invalid.|
51| AV_SESSION_ERR_CODE_SESSION_INACTIVE = 6600106 | The session is not activated.|
52| AV_SESSION_ERR_CODE_MESSAGE_OVERLOAD = 6600107 | Too many commands or messages.|
53