openharmony 鸿蒙 changelogs-multimedia

2023-02-03 浏览 (698)

cl.multimedia.av_session.001 Change of All av_session APIs to System APIs

All av_session APIs are changed to system APIs.

Change Impacts

Non-system applications and applications without system API permission cannot call system APIs.

Key API/Component Changes

All APIs are changed to system APIs. The table below describes the APIs.

API, Enumeration, or VariableTypeIs System API
SessionTokeninterfaceYes
AVMetadatainterfaceYes
AVPlaybackStateinterfaceYes
PlaybackPositioninterfaceYes
OutputDeviceInfointerfaceYes
AVSessionDescriptorinterfaceYes
AVSessionControllerinterfaceYes
AVControlCommandinterfaceYes
createAVSessionfunctionYes
getAllSessionDescriptorsfunctionYes
createControllerfunctionYes
castAudiofunctionYes
onfunctionYes
offfunctionYes
sendSystemAVKeyEventfunctionYes
sendSystemControlCommandfunctionYes
sessionIdvariableYes
setAVMetadatafunctionYes
setAVPlaybackStatefunctionYes
setLaunchAbilityfunctionYes
getControllerfunctionYes
getOutputDevicefunctionYes
activatefunctionYes
deactivatefunctionYes
destroyfunctionYes
getAVPlaybackStatefunctionYes
getAVMetadatafunctionYes
getOutputDevicefunctionYes
sendAVKeyEventfunctionYes
getLaunchAbilityfunctionYes
getRealPlaybackPositionSyncfunctionYes
isActivefunctionYes
getValidCommandsfunctionYes
sendControlCommandfunctionYes
AVSessionTypetypeYes
AVControlCommandTypetypeYes
LoopModeenumYes
PlaybackStateenumYes
AVSessionErrorCodeenumYes

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkUI Subsystem LocalStorage Class ChangeLog

harmony 鸿蒙Security Subsystem ChangeLog

harmony 鸿蒙Ability Subsystem Changelog

harmony 鸿蒙Common Library Subsystem Changelog

harmony 鸿蒙ChangeLog of JS API Changes of the Distributed Data Management Subsystem

harmony 鸿蒙Common Event and Notification Subsystem ChangeLog

harmony 鸿蒙Time Subsystem ChangeLog

harmony 鸿蒙Common Library Subsystem Changelog

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/7ecd05fb8e2f43adbcb9c1f400e29828