1| Change Type | Old Version | New Version | d.ts File | 2| ---- | ------ | ------ | -------- | 3|Access level changed|Class name: VolumeEvent<br>Access level: system API|Class name: VolumeEvent<br>Access level: public API|@ohos.multimedia.audio.d.ts| 4|Access level changed|Class name: VolumeEvent<br>Method or attribute name: volumeGroupId: number;<br>Access level: public API|Class name: VolumeEvent<br>Method or attribute name: volumeGroupId: number;<br>Access level: system API|@ohos.multimedia.audio.d.ts| 5|Access level changed|Class name: VolumeEvent<br>Method or attribute name: networkId: string;<br>Access level: public API|Class name: VolumeEvent<br>Method or attribute name: networkId: string;<br>Access level: system API|@ohos.multimedia.audio.d.ts| 6|Access level changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Access level: public API|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 7|Access level changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Access level: public API|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 8|Access level changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Access level: public API|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 9|Access level changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionServiceDie', callback?: () => void): void;<br>Access level: public API|Class name: avSession<br>Method or attribute name: function off(type: 'sessionServiceDie', callback?: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 10|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 11|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 12|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 13|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 14|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 15|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 16|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 17|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 18|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 19|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 20|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 21|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 22|Access level changed|Class name: AVSession<br>Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Access level: public API|Class name: AVSession<br>Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 23|Access level changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 24|Access level changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 25|Access level changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 26|Access level changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 27|Access level changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array\<AVControlCommandType>) => void);<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array\<AVControlCommandType>) => void);<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 28|Access level changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Access level: public API|Class name: AVSessionController<br>Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Access level: system API|@ohos.multimedia.avsession.d.ts| 29|Deprecated version changed|Class name: AudioManager<br>Method or attribute name: on(type: 'volumeChange', callback: Callback\<VolumeEvent>): void;<br>Deprecated version: 9|Class name: AudioManager<br>Method or attribute name: on(type: 'volumeChange', callback: Callback\<VolumeEvent>): void;<br>Deprecated version: N/A<br>Substitute API: ohos.multimedia.audio.AudioVolumeManager|@ohos.multimedia.audio.d.ts| 30|Deprecated version changed|Class name: mediaLibrary<br>Deprecated version: N/A|Class name: mediaLibrary<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 31|Deprecated version changed|Class name: mediaLibrary<br>Method or attribute name: function getMediaLibrary(): MediaLibrary;<br>Deprecated version: N/A|Class name: mediaLibrary<br>Method or attribute name: function getMediaLibrary(): MediaLibrary;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 32|Deprecated version changed|Class name: mediaLibrary<br>Method or attribute name: function getMediaLibrary(context: Context): MediaLibrary;<br>Deprecated version: N/A|Class name: mediaLibrary<br>Method or attribute name: function getMediaLibrary(context: Context): MediaLibrary;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 33|Deprecated version changed|Class name: MediaType<br>Deprecated version: N/A|Class name: MediaType<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 34|Deprecated version changed|Class name: MediaType<br>Method or attribute name: FILE = 0<br>Deprecated version: N/A|Class name: MediaType<br>Method or attribute name: FILE = 0<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 35|Deprecated version changed|Class name: MediaType<br>Method or attribute name: IMAGE<br>Deprecated version: N/A|Class name: MediaType<br>Method or attribute name: IMAGE<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 36|Deprecated version changed|Class name: MediaType<br>Method or attribute name: VIDEO<br>Deprecated version: N/A|Class name: MediaType<br>Method or attribute name: VIDEO<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 37|Deprecated version changed|Class name: MediaType<br>Method or attribute name: AUDIO<br>Deprecated version: N/A|Class name: MediaType<br>Method or attribute name: AUDIO<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 38|Deprecated version changed|Class name: FileAsset<br>Deprecated version: N/A|Class name: FileAsset<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 39|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly id: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly id: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 40|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly uri: string;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly uri: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 41|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly mimeType: string;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly mimeType: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 42|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly mediaType: MediaType;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly mediaType: MediaType;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 43|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: displayName: string;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: displayName: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 44|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: title: string;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: title: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 45|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: relativePath: string;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: relativePath: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 46|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly parent: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly parent: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 47|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly size: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly size: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 48|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly dateAdded: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly dateAdded: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 49|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly dateModified: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly dateModified: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 50|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly dateTaken: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly dateTaken: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 51|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly artist: string;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly artist: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 52|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly audioAlbum: string;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly audioAlbum: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 53|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly width: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly width: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 54|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly height: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly height: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 55|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: orientation: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: orientation: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 56|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly duration: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly duration: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 57|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly albumId: number;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly albumId: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 58|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly albumUri: string;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly albumUri: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 59|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: readonly albumName: string;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: readonly albumName: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 60|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: isDirectory(callback: AsyncCallback\<boolean>): void;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: isDirectory(callback: AsyncCallback\<boolean>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 61|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: isDirectory():Promise\<boolean>;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: isDirectory():Promise\<boolean>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 62|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: commitModify(callback: AsyncCallback\<void>): void;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: commitModify(callback: AsyncCallback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 63|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: commitModify(): Promise\<void>;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: commitModify(): Promise\<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 64|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: open(mode: string, callback: AsyncCallback\<number>): void;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: open(mode: string, callback: AsyncCallback\<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 65|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: open(mode: string): Promise\<number>;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: open(mode: string): Promise\<number>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 66|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: close(fd: number, callback: AsyncCallback\<void>): void;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: close(fd: number, callback: AsyncCallback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 67|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: close(fd: number): Promise\<void>;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: close(fd: number): Promise\<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 68|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: getThumbnail(callback: AsyncCallback\<image.PixelMap>): void;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: getThumbnail(callback: AsyncCallback\<image.PixelMap>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 69|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: getThumbnail(size: Size, callback: AsyncCallback\<image.PixelMap>): void;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: getThumbnail(size: Size, callback: AsyncCallback\<image.PixelMap>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 70|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: getThumbnail(size?: Size): Promise\<image.PixelMap>;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: getThumbnail(size?: Size): Promise\<image.PixelMap>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 71|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: favorite(isFavorite: boolean, callback: AsyncCallback\<void>): void;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: favorite(isFavorite: boolean, callback: AsyncCallback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 72|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: favorite(isFavorite: boolean): Promise\<void>;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: favorite(isFavorite: boolean): Promise\<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 73|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: isFavorite(callback: AsyncCallback\<boolean>): void;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: isFavorite(callback: AsyncCallback\<boolean>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 74|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: isFavorite():Promise\<boolean>;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: isFavorite():Promise\<boolean>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 75|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: trash(isTrash: boolean, callback: AsyncCallback\<void>): void;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: trash(isTrash: boolean, callback: AsyncCallback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 76|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: trash(isTrash: boolean): Promise\<void>;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: trash(isTrash: boolean): Promise\<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 77|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: isTrash(callback: AsyncCallback\<boolean>): void;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: isTrash(callback: AsyncCallback\<boolean>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 78|Deprecated version changed|Class name: FileAsset<br>Method or attribute name: isTrash():Promise\<boolean>;<br>Deprecated version: N/A|Class name: FileAsset<br>Method or attribute name: isTrash():Promise\<boolean>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 79|Deprecated version changed|Class name: FileKey<br>Deprecated version: N/A|Class name: FileKey<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 80|Deprecated version changed|Class name: FileKey<br>Method or attribute name: ID = "file_id"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: ID = "file_id"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 81|Deprecated version changed|Class name: FileKey<br>Method or attribute name: RELATIVE_PATH = "relative_path"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: RELATIVE_PATH = "relative_path"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 82|Deprecated version changed|Class name: FileKey<br>Method or attribute name: DISPLAY_NAME = "display_name"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: DISPLAY_NAME = "display_name"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 83|Deprecated version changed|Class name: FileKey<br>Method or attribute name: PARENT = "parent"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: PARENT = "parent"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 84|Deprecated version changed|Class name: FileKey<br>Method or attribute name: MIME_TYPE = "mime_type"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: MIME_TYPE = "mime_type"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 85|Deprecated version changed|Class name: FileKey<br>Method or attribute name: MEDIA_TYPE = "media_type"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: MEDIA_TYPE = "media_type"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 86|Deprecated version changed|Class name: FileKey<br>Method or attribute name: SIZE = "size"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: SIZE = "size"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 87|Deprecated version changed|Class name: FileKey<br>Method or attribute name: DATE_ADDED = "date_added"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: DATE_ADDED = "date_added"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 88|Deprecated version changed|Class name: FileKey<br>Method or attribute name: DATE_MODIFIED = "date_modified"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: DATE_MODIFIED = "date_modified"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 89|Deprecated version changed|Class name: FileKey<br>Method or attribute name: DATE_TAKEN = "date_taken"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: DATE_TAKEN = "date_taken"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 90|Deprecated version changed|Class name: FileKey<br>Method or attribute name: TITLE = "title"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: TITLE = "title"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 91|Deprecated version changed|Class name: FileKey<br>Method or attribute name: ARTIST = "artist"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: ARTIST = "artist"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 92|Deprecated version changed|Class name: FileKey<br>Method or attribute name: AUDIOALBUM = "audio_album"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: AUDIOALBUM = "audio_album"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 93|Deprecated version changed|Class name: FileKey<br>Method or attribute name: DURATION = "duration"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: DURATION = "duration"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 94|Deprecated version changed|Class name: FileKey<br>Method or attribute name: WIDTH = "width"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: WIDTH = "width"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 95|Deprecated version changed|Class name: FileKey<br>Method or attribute name: HEIGHT = "height"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: HEIGHT = "height"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 96|Deprecated version changed|Class name: FileKey<br>Method or attribute name: ORIENTATION = "orientation"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: ORIENTATION = "orientation"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 97|Deprecated version changed|Class name: FileKey<br>Method or attribute name: ALBUM_ID = "bucket_id"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: ALBUM_ID = "bucket_id"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 98|Deprecated version changed|Class name: FileKey<br>Method or attribute name: ALBUM_NAME = "bucket_display_name"<br>Deprecated version: N/A|Class name: FileKey<br>Method or attribute name: ALBUM_NAME = "bucket_display_name"<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 99|Deprecated version changed|Class name: MediaFetchOptions<br>Deprecated version: N/A|Class name: MediaFetchOptions<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 100|Deprecated version changed|Class name: MediaFetchOptions<br>Method or attribute name: selections: string;<br>Deprecated version: N/A|Class name: MediaFetchOptions<br>Method or attribute name: selections: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 101|Deprecated version changed|Class name: MediaFetchOptions<br>Method or attribute name: selectionArgs: Array\<string>;<br>Deprecated version: N/A|Class name: MediaFetchOptions<br>Method or attribute name: selectionArgs: Array\<string>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 102|Deprecated version changed|Class name: MediaFetchOptions<br>Method or attribute name: order?: string;<br>Deprecated version: N/A|Class name: MediaFetchOptions<br>Method or attribute name: order?: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 103|Deprecated version changed|Class name: MediaFetchOptions<br>Method or attribute name: uri?: string;<br>Deprecated version: N/A|Class name: MediaFetchOptions<br>Method or attribute name: uri?: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 104|Deprecated version changed|Class name: MediaFetchOptions<br>Method or attribute name: networkId?: string;<br>Deprecated version: N/A|Class name: MediaFetchOptions<br>Method or attribute name: networkId?: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 105|Deprecated version changed|Class name: MediaFetchOptions<br>Method or attribute name: extendArgs?: string;<br>Deprecated version: N/A|Class name: MediaFetchOptions<br>Method or attribute name: extendArgs?: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 106|Deprecated version changed|Class name: FetchFileResult<br>Deprecated version: N/A|Class name: FetchFileResult<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 107|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getCount(): number;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getCount(): number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 108|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: isAfterLast(): boolean;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: isAfterLast(): boolean;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 109|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: close(): void;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: close(): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 110|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getFirstObject(callback: AsyncCallback\<FileAsset>): void;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getFirstObject(callback: AsyncCallback\<FileAsset>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 111|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getFirstObject(): Promise\<FileAsset>;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getFirstObject(): Promise\<FileAsset>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 112|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getNextObject(callback: AsyncCallback\<FileAsset>): void;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getNextObject(callback: AsyncCallback\<FileAsset>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 113|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getNextObject(): Promise\<FileAsset>;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getNextObject(): Promise\<FileAsset>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 114|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getLastObject(callback: AsyncCallback\<FileAsset>): void;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getLastObject(callback: AsyncCallback\<FileAsset>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 115|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getLastObject(): Promise\<FileAsset>;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getLastObject(): Promise\<FileAsset>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 116|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getPositionObject(index: number, callback: AsyncCallback\<FileAsset>): void;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getPositionObject(index: number, callback: AsyncCallback\<FileAsset>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 117|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getPositionObject(index: number): Promise\<FileAsset>;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getPositionObject(index: number): Promise\<FileAsset>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 118|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getAllObject(callback: AsyncCallback\<Array\<FileAsset>>): void;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getAllObject(callback: AsyncCallback\<Array\<FileAsset>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 119|Deprecated version changed|Class name: FetchFileResult<br>Method or attribute name: getAllObject(): Promise\<Array\<FileAsset>>;<br>Deprecated version: N/A|Class name: FetchFileResult<br>Method or attribute name: getAllObject(): Promise\<Array\<FileAsset>>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 120|Deprecated version changed|Class name: Album<br>Deprecated version: N/A|Class name: Album<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 121|Deprecated version changed|Class name: Album<br>Method or attribute name: readonly albumId: number;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: readonly albumId: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 122|Deprecated version changed|Class name: Album<br>Method or attribute name: albumName: string;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: albumName: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 123|Deprecated version changed|Class name: Album<br>Method or attribute name: readonly albumUri: string;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: readonly albumUri: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 124|Deprecated version changed|Class name: Album<br>Method or attribute name: readonly dateModified: number;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: readonly dateModified: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 125|Deprecated version changed|Class name: Album<br>Method or attribute name: readonly count: number;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: readonly count: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 126|Deprecated version changed|Class name: Album<br>Method or attribute name: readonly relativePath: string;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: readonly relativePath: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 127|Deprecated version changed|Class name: Album<br>Method or attribute name: readonly coverUri: string;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: readonly coverUri: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 128|Deprecated version changed|Class name: Album<br>Method or attribute name: commitModify(callback: AsyncCallback\<void>): void;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: commitModify(callback: AsyncCallback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 129|Deprecated version changed|Class name: Album<br>Method or attribute name: commitModify(): Promise\<void>;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: commitModify(): Promise\<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 130|Deprecated version changed|Class name: Album<br>Method or attribute name: getFileAssets(callback: AsyncCallback\<FetchFileResult>): void;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: getFileAssets(callback: AsyncCallback\<FetchFileResult>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 131|Deprecated version changed|Class name: Album<br>Method or attribute name: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback\<FetchFileResult>): void;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback\<FetchFileResult>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 132|Deprecated version changed|Class name: Album<br>Method or attribute name: getFileAssets(options?: MediaFetchOptions): Promise\<FetchFileResult>;<br>Deprecated version: N/A|Class name: Album<br>Method or attribute name: getFileAssets(options?: MediaFetchOptions): Promise\<FetchFileResult>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 133|Deprecated version changed|Class name: DirectoryType<br>Deprecated version: N/A|Class name: DirectoryType<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 134|Deprecated version changed|Class name: DirectoryType<br>Method or attribute name: DIR_CAMERA = 0<br>Deprecated version: N/A|Class name: DirectoryType<br>Method or attribute name: DIR_CAMERA = 0<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 135|Deprecated version changed|Class name: DirectoryType<br>Method or attribute name: DIR_VIDEO<br>Deprecated version: N/A|Class name: DirectoryType<br>Method or attribute name: DIR_VIDEO<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 136|Deprecated version changed|Class name: DirectoryType<br>Method or attribute name: DIR_IMAGE<br>Deprecated version: N/A|Class name: DirectoryType<br>Method or attribute name: DIR_IMAGE<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 137|Deprecated version changed|Class name: DirectoryType<br>Method or attribute name: DIR_AUDIO<br>Deprecated version: N/A|Class name: DirectoryType<br>Method or attribute name: DIR_AUDIO<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 138|Deprecated version changed|Class name: DirectoryType<br>Method or attribute name: DIR_DOCUMENTS<br>Deprecated version: N/A|Class name: DirectoryType<br>Method or attribute name: DIR_DOCUMENTS<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 139|Deprecated version changed|Class name: DirectoryType<br>Method or attribute name: DIR_DOWNLOAD<br>Deprecated version: N/A|Class name: DirectoryType<br>Method or attribute name: DIR_DOWNLOAD<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 140|Deprecated version changed|Class name: MediaLibrary<br>Deprecated version: N/A|Class name: MediaLibrary<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 141|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: getPublicDirectory(type: DirectoryType, callback: AsyncCallback\<string>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: getPublicDirectory(type: DirectoryType, callback: AsyncCallback\<string>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 142|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: getPublicDirectory(type: DirectoryType): Promise\<string>;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: getPublicDirectory(type: DirectoryType): Promise\<string>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 143|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback\<FetchFileResult>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback\<FetchFileResult>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 144|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: getFileAssets(options: MediaFetchOptions): Promise\<FetchFileResult>;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: getFileAssets(options: MediaFetchOptions): Promise\<FetchFileResult>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 145|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 146|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 147|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 148|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 149|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 150|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 151|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 152|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 153|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 154|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 155|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 156|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 157|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 158|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 159|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback\<FileAsset>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback\<FileAsset>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 160|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise\<FileAsset>;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise\<FileAsset>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 161|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: deleteAsset(uri: string, callback: AsyncCallback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: deleteAsset(uri: string, callback: AsyncCallback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 162|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: deleteAsset(uri: string): Promise\<void>;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: deleteAsset(uri: string): Promise\<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 163|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: getAlbums(options: MediaFetchOptions, callback: AsyncCallback\<Array\<Album>>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: getAlbums(options: MediaFetchOptions, callback: AsyncCallback\<Array\<Album>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 164|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: getAlbums(options: MediaFetchOptions): Promise\<Array\<Album>>;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: getAlbums(options: MediaFetchOptions): Promise\<Array\<Album>>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 165|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: getActivePeers(callback: AsyncCallback\<Array\<PeerInfo>>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: getActivePeers(callback: AsyncCallback\<Array\<PeerInfo>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 166|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: getActivePeers(): Promise\<Array\<PeerInfo>>;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: getActivePeers(): Promise\<Array\<PeerInfo>>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 167|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: getAllPeers(callback: AsyncCallback\<Array\<PeerInfo>>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: getAllPeers(callback: AsyncCallback\<Array\<PeerInfo>>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 168|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: getAllPeers(): Promise\<Array\<PeerInfo>>;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: getAllPeers(): Promise\<Array\<PeerInfo>>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 169|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: release(callback: AsyncCallback\<void>): void;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: release(callback: AsyncCallback\<void>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 170|Deprecated version changed|Class name: MediaLibrary<br>Method or attribute name: release(): Promise\<void>;<br>Deprecated version: N/A|Class name: MediaLibrary<br>Method or attribute name: release(): Promise\<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 171|Deprecated version changed|Class name: Size<br>Deprecated version: N/A|Class name: Size<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 172|Deprecated version changed|Class name: Size<br>Method or attribute name: width: number;<br>Deprecated version: N/A|Class name: Size<br>Method or attribute name: width: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 173|Deprecated version changed|Class name: Size<br>Method or attribute name: height: number;<br>Deprecated version: N/A|Class name: Size<br>Method or attribute name: height: number;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 174|Deprecated version changed|Class name: PeerInfo<br>Deprecated version: N/A|Class name: PeerInfo<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 175|Deprecated version changed|Class name: PeerInfo<br>Method or attribute name: readonly deviceName: string;<br>Deprecated version: N/A|Class name: PeerInfo<br>Method or attribute name: readonly deviceName: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 176|Deprecated version changed|Class name: PeerInfo<br>Method or attribute name: readonly networkId: string;<br>Deprecated version: N/A|Class name: PeerInfo<br>Method or attribute name: readonly networkId: string;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 177|Deprecated version changed|Class name: PeerInfo<br>Method or attribute name: readonly deviceType: DeviceType;<br>Deprecated version: N/A|Class name: PeerInfo<br>Method or attribute name: readonly deviceType: DeviceType;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 178|Deprecated version changed|Class name: PeerInfo<br>Method or attribute name: readonly isOnline: boolean;<br>Deprecated version: N/A|Class name: PeerInfo<br>Method or attribute name: readonly isOnline: boolean;<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 179|Deprecated version changed|Class name: DeviceType<br>Deprecated version: N/A|Class name: DeviceType<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 180|Deprecated version changed|Class name: DeviceType<br>Method or attribute name: TYPE_UNKNOWN = 0<br>Deprecated version: N/A|Class name: DeviceType<br>Method or attribute name: TYPE_UNKNOWN = 0<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 181|Deprecated version changed|Class name: DeviceType<br>Method or attribute name: TYPE_LAPTOP<br>Deprecated version: N/A|Class name: DeviceType<br>Method or attribute name: TYPE_LAPTOP<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 182|Deprecated version changed|Class name: DeviceType<br>Method or attribute name: TYPE_PHONE<br>Deprecated version: N/A|Class name: DeviceType<br>Method or attribute name: TYPE_PHONE<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 183|Deprecated version changed|Class name: DeviceType<br>Method or attribute name: TYPE_TABLET<br>Deprecated version: N/A|Class name: DeviceType<br>Method or attribute name: TYPE_TABLET<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 184|Deprecated version changed|Class name: DeviceType<br>Method or attribute name: TYPE_WATCH<br>Deprecated version: N/A|Class name: DeviceType<br>Method or attribute name: TYPE_WATCH<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 185|Deprecated version changed|Class name: DeviceType<br>Method or attribute name: TYPE_CAR<br>Deprecated version: N/A|Class name: DeviceType<br>Method or attribute name: TYPE_CAR<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 186|Deprecated version changed|Class name: DeviceType<br>Method or attribute name: TYPE_TV<br>Deprecated version: N/A|Class name: DeviceType<br>Method or attribute name: TYPE_TV<br>Deprecated version: 9<br>Substitute API: ohos.file.picker |@ohos.multimedia.mediaLibrary.d.ts| 187|Initial version changed|Class name: AudioManager<br>Method or attribute name: on(type: 'volumeChange', callback: Callback\<VolumeEvent>): void;<br>Initial version: 8|Class name: AudioManager<br>Method or attribute name: on(type: 'volumeChange', callback: Callback\<VolumeEvent>): void;<br>Initial version: 9|@ohos.multimedia.audio.d.ts| 188|Initial version changed|Class name: VolumeEvent<br>Initial version: 8|Class name: VolumeEvent<br>Initial version: 9|@ohos.multimedia.audio.d.ts| 189|Initial version changed|Class name: VolumeEvent<br>Method or attribute name: volumeType: AudioVolumeType;<br>Initial version: 8|Class name: VolumeEvent<br>Method or attribute name: volumeType: AudioVolumeType;<br>Initial version: 9|@ohos.multimedia.audio.d.ts| 190|Initial version changed|Class name: VolumeEvent<br>Method or attribute name: volume: number;<br>Initial version: 8|Class name: VolumeEvent<br>Method or attribute name: volume: number;<br>Initial version: 9|@ohos.multimedia.audio.d.ts| 191|Initial version changed|Class name: VolumeEvent<br>Method or attribute name: updateUi: boolean;<br>Initial version: 8|Class name: VolumeEvent<br>Method or attribute name: updateUi: boolean;<br>Initial version: 9|@ohos.multimedia.audio.d.ts| 192|Initial version changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Initial version: N/A|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 193|Initial version changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Initial version: N/A|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 194|Initial version changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Initial version: N/A|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 195|Initial version changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionServiceDie', callback?: () => void): void;<br>Initial version: N/A|Class name: avSession<br>Method or attribute name: function off(type: 'sessionServiceDie', callback?: () => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 196|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 197|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 198|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 199|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 200|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 201|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 202|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 203|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 204|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 205|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 206|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 207|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 208|Initial version changed|Class name: AVSession<br>Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Initial version: N/A|Class name: AVSession<br>Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 209|Initial version changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);<br>Initial version: N/A|Class name: AVSessionController<br>Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 210|Initial version changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);<br>Initial version: N/A|Class name: AVSessionController<br>Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 211|Initial version changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);<br>Initial version: N/A|Class name: AVSessionController<br>Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 212|Initial version changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);<br>Initial version: N/A|Class name: AVSessionController<br>Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 213|Initial version changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array\<AVControlCommandType>) => void);<br>Initial version: N/A|Class name: AVSessionController<br>Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array\<AVControlCommandType>) => void);<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 214|Initial version changed|Class name: AVSessionController<br>Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Initial version: N/A|Class name: AVSessionController<br>Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Initial version: 9|@ohos.multimedia.avsession.d.ts| 215|Initial version changed|Class name: AVFileDescriptor<br>Initial version: N/A|Class name: AVFileDescriptor<br>Initial version: 9|@ohos.multimedia.media.d.ts| 216|Error code added|NA|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Error code: 201, 401|@ohos.multimedia.avsession.d.ts| 217|Error code added|NA|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Error code: 201, 401|@ohos.multimedia.avsession.d.ts| 218|Error code added|NA|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Error code: 201, 401|@ohos.multimedia.avsession.d.ts| 219|Error code added|NA|Class name: avSession<br>Method or attribute name: function off(type: 'sessionServiceDie', callback?: () => void): void;<br>Error code: 201, 401|@ohos.multimedia.avsession.d.ts| 220|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 221|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 222|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 223|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 224|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 225|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 226|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 227|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 228|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 229|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 230|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 231|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 232|Error code added|NA|Class name: AVSession<br>Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 233|Error code added|NA|Class name: AVSessionController<br>Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 234|Error code added|NA|Class name: AVSessionController<br>Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 235|Error code added|NA|Class name: AVSessionController<br>Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 236|Error code added|NA|Class name: AVSessionController<br>Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 237|Error code added|NA|Class name: AVSessionController<br>Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array\<AVControlCommandType>) => void);<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 238|Error code added|NA|Class name: AVSessionController<br>Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Error code: 401|@ohos.multimedia.avsession.d.ts| 239|Permission added|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Permission: N/A|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Permission: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| 240|Permission added|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Permission: N/A|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Permission: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| 241|Permission added|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Permission: N/A|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>Permission: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| 242|SysCap changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>SysCap:SystemCapability.Multimedia.AVSession.Core|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>SysCap:SystemCapability.Multimedia.AVSession.Manager|@ohos.multimedia.avsession.d.ts| 243|SysCap changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>SysCap:SystemCapability.Multimedia.AVSession.Core|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>SysCap:SystemCapability.Multimedia.AVSession.Manager|@ohos.multimedia.avsession.d.ts| 244|SysCap changed|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>SysCap:SystemCapability.Multimedia.AVSession.Core|Class name: avSession<br>Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;<br>SysCap:SystemCapability.Multimedia.AVSession.Manager|@ohos.multimedia.avsession.d.ts| 245|SysCap changed|Class name: AVFileDescriptor<br>SysCap: N/A|Class name: AVFileDescriptor<br>SysCap:SystemCapability.Multimedia.Media.Core|@ohos.multimedia.media.d.ts| 246