openharmony 鸿蒙 changelogs-multimedia

2023-06-24 浏览 (517)

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

All av_session APIs are changed to system APIs.

Change Impact

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/Enum/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 鸿蒙Readme

harmony 鸿蒙Example Subsystem Changelog

harmony 鸿蒙Ability Framework Changelog

harmony 鸿蒙Account Subsystem Changelog

harmony 鸿蒙ArkUI Subsystem ChangeLog

harmony 鸿蒙Multimedia Subsystem Changelog

harmony 鸿蒙Common Library Subsystem Changelog

harmony 鸿蒙Distributed Data Management Subsystem JS API Changelog

harmony 鸿蒙File Management Subsystem Changelog

harmony 鸿蒙Input Method Framework ChangeLog

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