harmony 鸿蒙Media Subsystem ChangeLog
Media Subsystem ChangeLog
cl.media.1 Playback APIs Changed
The APIs related to audio track switching are deleted.
Change Impact
These APIs are unavailable.
Key API/Component Changes
The deleted APIs are as follows:
Class | API |
---|---|
Media.Core | MD_KEY_LANGUAGE |
Media.AVPlayer | selectTrack(index: number): void |
Media.AVPlayer | deselectTrack(index: number): void |
Media.AVPlayer | getCurrentTrack(trackType: MediaType, callback: AsyncCallback<number>): void |
Media.AVPlayer | getCurrentTrack(trackType: MediaType): Promise<number> |
Media.AVPlayer | on(type: ‘trackChange’, callback: (index: number, isSelect: boolean) => void): void; |
Media.AVPlayer | off(type: ‘trackChange’): void |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Arkui Subsystem State Management Changelog
harmony 鸿蒙ArkUI Subsystem Changelog
harmony 鸿蒙Bundle Management Subsystem Changelog
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦