1e41f4b71Sopenharmony_ci## cl.multimedia.av_session.001 Change of All av_session APIs to System APIs
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciAll av_session APIs are changed to system APIs.
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci**Change Impacts**
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciNon-system applications and applications without system API permission cannot call system APIs.
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Key API/Component Changes**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciAll APIs are changed to system APIs. The table below describes the APIs.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci| API, Enumeration, or Variable| Type| Is System API|
14e41f4b71Sopenharmony_ci| -------- | -------- | ------- |
15e41f4b71Sopenharmony_ci| SessionToken | interface | Yes|
16e41f4b71Sopenharmony_ci| AVMetadata  | interface | Yes|
17e41f4b71Sopenharmony_ci| AVPlaybackState  | interface | Yes|
18e41f4b71Sopenharmony_ci| PlaybackPosition  | interface | Yes|
19e41f4b71Sopenharmony_ci| OutputDeviceInfo  | interface | Yes|
20e41f4b71Sopenharmony_ci| AVSessionDescriptor  | interface | Yes|
21e41f4b71Sopenharmony_ci| AVSessionController  | interface | Yes|
22e41f4b71Sopenharmony_ci| AVControlCommand  | interface | Yes|
23e41f4b71Sopenharmony_ci| createAVSession | function | Yes|
24e41f4b71Sopenharmony_ci| getAllSessionDescriptors | function | Yes|
25e41f4b71Sopenharmony_ci| createController | function | Yes|
26e41f4b71Sopenharmony_ci| castAudio | function | Yes|
27e41f4b71Sopenharmony_ci| on  | function | Yes|
28e41f4b71Sopenharmony_ci| off | function | Yes|
29e41f4b71Sopenharmony_ci| sendSystemAVKeyEvent | function | Yes|
30e41f4b71Sopenharmony_ci| sendSystemControlCommand | function | Yes|
31e41f4b71Sopenharmony_ci| sessionId | variable | Yes|
32e41f4b71Sopenharmony_ci| setAVMetadata | function | Yes|
33e41f4b71Sopenharmony_ci| setAVPlaybackState | function | Yes|
34e41f4b71Sopenharmony_ci| setLaunchAbility | function | Yes|
35e41f4b71Sopenharmony_ci| getController | function | Yes|
36e41f4b71Sopenharmony_ci| getOutputDevice | function | Yes|
37e41f4b71Sopenharmony_ci| activate | function | Yes|
38e41f4b71Sopenharmony_ci| deactivate | function | Yes|
39e41f4b71Sopenharmony_ci| destroy | function | Yes|
40e41f4b71Sopenharmony_ci| getAVPlaybackState | function | Yes|
41e41f4b71Sopenharmony_ci| getAVMetadata | function | Yes|
42e41f4b71Sopenharmony_ci| getOutputDevice | function | Yes|
43e41f4b71Sopenharmony_ci| sendAVKeyEvent | function | Yes|
44e41f4b71Sopenharmony_ci| getLaunchAbility | function | Yes|
45e41f4b71Sopenharmony_ci| getRealPlaybackPositionSync | function | Yes|
46e41f4b71Sopenharmony_ci| isActive | function | Yes|
47e41f4b71Sopenharmony_ci| getValidCommands | function | Yes|
48e41f4b71Sopenharmony_ci| sendControlCommand | function | Yes|
49e41f4b71Sopenharmony_ci| AVSessionType  | type | Yes|
50e41f4b71Sopenharmony_ci| AVControlCommandType  | type | Yes|
51e41f4b71Sopenharmony_ci| LoopMode  | enum | Yes|
52e41f4b71Sopenharmony_ci| PlaybackState  | enum | Yes|
53e41f4b71Sopenharmony_ci| AVSessionErrorCode  | enum | Yes|
54