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