js-apidiff-multimedia.md 81.8 KB
Newer Older
G
Gloria 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Access level changed|Class name: VolumeEvent<br>Access level: system API|Class name: VolumeEvent<br>Access level: public API|@ohos.multimedia.audio.d.ts|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|Initial version changed|Class name: VolumeEvent<br>Initial version: 8|Class name: VolumeEvent<br>Initial version: 9|@ohos.multimedia.audio.d.ts|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|Initial version changed|Class name: AVFileDescriptor<br>Initial version: N/A|Class name: AVFileDescriptor<br>Initial version: 9|@ohos.multimedia.media.d.ts|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|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|
|SysCap changed|Class name: AVFileDescriptor<br>SysCap: N/A|Class name: AVFileDescriptor<br>SysCap:SystemCapability.Multimedia.Media.Core|@ohos.multimedia.media.d.ts|