harmony 鸿蒙cl.multimedia.av_session.001 av_session所有接口更换为系统接口

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

cl.multimedia.av_session.001 av_session所有接口更换为系统接口

所有av_session的接口变更为SystemApi。

变更影响

非系统应用无法调用系统接口,如调用方为非系统应用或未申请SystemApi相关权限,将无法调用接口。

关键的接口/组件变更

所有接口均变更为SystemApi,接口明细如下:

接口、枚举或变量名 类型 是否为SystemApi
SessionToken interface
AVMetadata interface
AVPlaybackState interface
PlaybackPosition interface
OutputDeviceInfo interface
AVSessionDescriptor interface
AVSessionController interface
AVControlCommand interface
createAVSession function
getAllSessionDescriptors function
createController function
castAudio function
on function
off function
sendSystemAVKeyEvent function
sendSystemControlCommand function
sessionId variable
setAVMetadata function
setAVPlaybackState function
setLaunchAbility function
getController function
getOutputDevice function
activate function
deactivate function
destroy function
getAVPlaybackState function
getAVMetadata function
getOutputDevice function
sendAVKeyEvent function
getLaunchAbility function
getRealPlaybackPositionSync function
isActive function
getValidCommands function
sendControlCommand function
AVSessionType type
AVControlCommandType type
LoopMode enum
PlaybackState enum
AVSessionErrorCode enum

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙xxx子系统ChangeLog

harmony 鸿蒙元能力子系统JS API变更Changelog

harmony 鸿蒙帐号子系统changeLog

harmony 鸿蒙arkui子系统ChangeLog

harmony 鸿蒙媒体子系统 JS API 变更 Changelog

harmony 鸿蒙公共基础类库子系统JS API变更Changelog

harmony 鸿蒙分布式数据管理子系统JS API变更Changelog

harmony 鸿蒙文件管理子系统ChangeLog

harmony 鸿蒙输入法框架changeLog

0  赞