harmony 鸿蒙cl.multimedia.av_session.001 Change of All av_session APIs to System APIs

  • 2023-06-24
  • 浏览 (375)

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/Variable Type Is System API
SessionToken interface Yes
AVMetadata interface Yes
AVPlaybackState interface Yes
PlaybackPosition interface Yes
OutputDeviceInfo interface Yes
AVSessionDescriptor interface Yes
AVSessionController interface Yes
AVControlCommand interface Yes
createAVSession function Yes
getAllSessionDescriptors function Yes
createController function Yes
castAudio function Yes
on function Yes
off function Yes
sendSystemAVKeyEvent function Yes
sendSystemControlCommand function Yes
sessionId variable Yes
setAVMetadata function Yes
setAVPlaybackState function Yes
setLaunchAbility function Yes
getController function Yes
getOutputDevice function Yes
activate function Yes
deactivate function Yes
destroy function Yes
getAVPlaybackState function Yes
getAVMetadata function Yes
getOutputDevice function Yes
sendAVKeyEvent function Yes
getLaunchAbility function Yes
getRealPlaybackPositionSync function Yes
isActive function Yes
getValidCommands function Yes
sendControlCommand function Yes
AVSessionType type Yes
AVControlCommandType type Yes
LoopMode enum Yes
PlaybackState enum Yes
AVSessionErrorCode enum Yes

你可能感兴趣的鸿蒙文章

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

0  赞