harmony 鸿蒙js-apidiff-multimedia

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

Change Type Old Version New Version d.ts File
Access level changed Class name: VolumeEvent
Access level: system API
Class name: VolumeEvent
Access level: public API
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeEvent
Method or attribute name: volumeGroupId: number;
Access level: public API
Class name: VolumeEvent
Method or attribute name: volumeGroupId: number;
Access level: system API
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeEvent
Method or attribute name: networkId: string;
Access level: public API
Class name: VolumeEvent
Method or attribute name: networkId: string;
Access level: system API
@ohos.multimedia.audio.d.ts
Access level changed Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Access level: public API
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Access level: public API
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Access level: public API
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession
Method or attribute name: function off(type: ‘sessionServiceDie’, callback?: () => void): void;
Access level: public API
Class name: avSession
Method or attribute name: function off(type: ‘sessionServiceDie’, callback?: () => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘seek’, callback?: (time: number) => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘seek’, callback?: (time: number) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘setSpeed’, callback?: (speed: number) => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘setSpeed’, callback?: (speed: number) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘setLoopMode’, callback?: (mode: LoopMode) => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘setLoopMode’, callback?: (mode: LoopMode) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘toggleFavorite’, callback?: (assetId: string) => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘toggleFavorite’, callback?: (assetId: string) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘handleKeyEvent’, callback?: (event: KeyEvent) => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘handleKeyEvent’, callback?: (event: KeyEvent) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Access level: public API
Class name: AVSession
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘metadataChange’, callback?: (data: AVMetadata) => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: off(type: ‘metadataChange’, callback?: (data: AVMetadata) => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘playbackStateChange’, callback?: (state: AVPlaybackState) => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: off(type: ‘playbackStateChange’, callback?: (state: AVPlaybackState) => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘sessionDestroy’, callback?: () => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: off(type: ‘sessionDestroy’, callback?: () => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘activeStateChange’, callback?: (isActive: boolean) => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: off(type: ‘activeStateChange’, callback?: (isActive: boolean) => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘validCommandChange’, callback?: (commands: Array<AVControlCommandType>) => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: off(type: ‘validCommandChange’, callback?: (commands: Array<AVControlCommandType>) => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Deprecated version changed Class name: AudioManager
Method or attribute name: on(type: ‘volumeChange’, callback: Callback<VolumeEvent>): void;
Deprecated version: 9
Class name: AudioManager
Method or attribute name: on(type: ‘volumeChange’, callback: Callback<VolumeEvent>): void;
Deprecated version: N/A
Substitute API: ohos.multimedia.audio.AudioVolumeManager
@ohos.multimedia.audio.d.ts
Deprecated version changed Class name: mediaLibrary
Deprecated version: N/A
Class name: mediaLibrary
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: mediaLibrary
Method or attribute name: function getMediaLibrary(): MediaLibrary;
Deprecated version: N/A
Class name: mediaLibrary
Method or attribute name: function getMediaLibrary(): MediaLibrary;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: mediaLibrary
Method or attribute name: function getMediaLibrary(context: Context): MediaLibrary;
Deprecated version: N/A
Class name: mediaLibrary
Method or attribute name: function getMediaLibrary(context: Context): MediaLibrary;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaType
Deprecated version: N/A
Class name: MediaType
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaType
Method or attribute name: FILE = 0
Deprecated version: N/A
Class name: MediaType
Method or attribute name: FILE = 0
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaType
Method or attribute name: IMAGE
Deprecated version: N/A
Class name: MediaType
Method or attribute name: IMAGE
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaType
Method or attribute name: VIDEO
Deprecated version: N/A
Class name: MediaType
Method or attribute name: VIDEO
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaType
Method or attribute name: AUDIO
Deprecated version: N/A
Class name: MediaType
Method or attribute name: AUDIO
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Deprecated version: N/A
Class name: FileAsset
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly id: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly id: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly uri: string;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly uri: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly mimeType: string;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly mimeType: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly mediaType: MediaType;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly mediaType: MediaType;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: displayName: string;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: displayName: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: title: string;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: title: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: relativePath: string;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: relativePath: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly parent: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly parent: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly size: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly size: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly dateAdded: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly dateAdded: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly dateModified: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly dateModified: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly dateTaken: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly dateTaken: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly artist: string;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly artist: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly audioAlbum: string;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly audioAlbum: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly width: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly width: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly height: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly height: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: orientation: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: orientation: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly duration: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly duration: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly albumId: number;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly albumId: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly albumUri: string;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly albumUri: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: readonly albumName: string;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: readonly albumName: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: isDirectory(callback: AsyncCallback<boolean>): void;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: isDirectory(callback: AsyncCallback<boolean>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: isDirectory():Promise<boolean>;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: isDirectory():Promise<boolean>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: commitModify(callback: AsyncCallback<void>): void;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: commitModify(callback: AsyncCallback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: commitModify(): Promise<void>;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: commitModify(): Promise<void>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: open(mode: string, callback: AsyncCallback<number>): void;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: open(mode: string, callback: AsyncCallback<number>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: open(mode: string): Promise<number>;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: open(mode: string): Promise<number>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: close(fd: number, callback: AsyncCallback<void>): void;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: close(fd: number, callback: AsyncCallback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: close(fd: number): Promise<void>;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: close(fd: number): Promise<void>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: getThumbnail(callback: AsyncCallback<image.PixelMap>): void;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: getThumbnail(callback: AsyncCallback<image.PixelMap>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: getThumbnail(size: Size, callback: AsyncCallback<image.PixelMap>): void;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: getThumbnail(size: Size, callback: AsyncCallback<image.PixelMap>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: getThumbnail(size?: Size): Promise<image.PixelMap>;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: getThumbnail(size?: Size): Promise<image.PixelMap>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: favorite(isFavorite: boolean, callback: AsyncCallback<void>): void;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: favorite(isFavorite: boolean, callback: AsyncCallback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: favorite(isFavorite: boolean): Promise<void>;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: favorite(isFavorite: boolean): Promise<void>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: isFavorite(callback: AsyncCallback<boolean>): void;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: isFavorite(callback: AsyncCallback<boolean>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: isFavorite():Promise<boolean>;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: isFavorite():Promise<boolean>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: trash(isTrash: boolean, callback: AsyncCallback<void>): void;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: trash(isTrash: boolean, callback: AsyncCallback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: trash(isTrash: boolean): Promise<void>;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: trash(isTrash: boolean): Promise<void>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: isTrash(callback: AsyncCallback<boolean>): void;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: isTrash(callback: AsyncCallback<boolean>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileAsset
Method or attribute name: isTrash():Promise<boolean>;
Deprecated version: N/A
Class name: FileAsset
Method or attribute name: isTrash():Promise<boolean>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Deprecated version: N/A
Class name: FileKey
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: ID = “file_id”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: ID = “file_id”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: RELATIVE_PATH = “relative_path”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: RELATIVE_PATH = “relative_path”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: DISPLAY_NAME = “display_name”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: DISPLAY_NAME = “display_name”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: PARENT = “parent”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: PARENT = “parent”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: MIME_TYPE = “mime_type”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: MIME_TYPE = “mime_type”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: MEDIA_TYPE = “media_type”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: MEDIA_TYPE = “media_type”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: SIZE = “size”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: SIZE = “size”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: DATE_ADDED = “date_added”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: DATE_ADDED = “date_added”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: DATE_MODIFIED = “date_modified”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: DATE_MODIFIED = “date_modified”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: DATE_TAKEN = “date_taken”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: DATE_TAKEN = “date_taken”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: TITLE = “title”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: TITLE = “title”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: ARTIST = “artist”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: ARTIST = “artist”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: AUDIOALBUM = “audio_album”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: AUDIOALBUM = “audio_album”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: DURATION = “duration”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: DURATION = “duration”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: WIDTH = “width”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: WIDTH = “width”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: HEIGHT = “height”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: HEIGHT = “height”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: ORIENTATION = “orientation”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: ORIENTATION = “orientation”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: ALBUM_ID = “bucket_id”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: ALBUM_ID = “bucket_id”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FileKey
Method or attribute name: ALBUM_NAME = “bucket_display_name”
Deprecated version: N/A
Class name: FileKey
Method or attribute name: ALBUM_NAME = “bucket_display_name”
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaFetchOptions
Deprecated version: N/A
Class name: MediaFetchOptions
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaFetchOptions
Method or attribute name: selections: string;
Deprecated version: N/A
Class name: MediaFetchOptions
Method or attribute name: selections: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaFetchOptions
Method or attribute name: selectionArgs: Array<string>;
Deprecated version: N/A
Class name: MediaFetchOptions
Method or attribute name: selectionArgs: Array<string>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaFetchOptions
Method or attribute name: order?: string;
Deprecated version: N/A
Class name: MediaFetchOptions
Method or attribute name: order?: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaFetchOptions
Method or attribute name: uri?: string;
Deprecated version: N/A
Class name: MediaFetchOptions
Method or attribute name: uri?: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaFetchOptions
Method or attribute name: networkId?: string;
Deprecated version: N/A
Class name: MediaFetchOptions
Method or attribute name: networkId?: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaFetchOptions
Method or attribute name: extendArgs?: string;
Deprecated version: N/A
Class name: MediaFetchOptions
Method or attribute name: extendArgs?: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Deprecated version: N/A
Class name: FetchFileResult
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getCount(): number;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getCount(): number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: isAfterLast(): boolean;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: isAfterLast(): boolean;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: close(): void;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: close(): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getFirstObject(callback: AsyncCallback<FileAsset>): void;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getFirstObject(callback: AsyncCallback<FileAsset>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getFirstObject(): Promise<FileAsset>;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getFirstObject(): Promise<FileAsset>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getNextObject(callback: AsyncCallback<FileAsset>): void;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getNextObject(callback: AsyncCallback<FileAsset>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getNextObject(): Promise<FileAsset>;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getNextObject(): Promise<FileAsset>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getLastObject(callback: AsyncCallback<FileAsset>): void;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getLastObject(callback: AsyncCallback<FileAsset>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getLastObject(): Promise<FileAsset>;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getLastObject(): Promise<FileAsset>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getPositionObject(index: number, callback: AsyncCallback<FileAsset>): void;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getPositionObject(index: number, callback: AsyncCallback<FileAsset>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getPositionObject(index: number): Promise<FileAsset>;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getPositionObject(index: number): Promise<FileAsset>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getAllObject(callback: AsyncCallback<Array<FileAsset>>): void;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getAllObject(callback: AsyncCallback<Array<FileAsset>>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: FetchFileResult
Method or attribute name: getAllObject(): Promise<Array<FileAsset>>;
Deprecated version: N/A
Class name: FetchFileResult
Method or attribute name: getAllObject(): Promise<Array<FileAsset>>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Deprecated version: N/A
Class name: Album
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: readonly albumId: number;
Deprecated version: N/A
Class name: Album
Method or attribute name: readonly albumId: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: albumName: string;
Deprecated version: N/A
Class name: Album
Method or attribute name: albumName: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: readonly albumUri: string;
Deprecated version: N/A
Class name: Album
Method or attribute name: readonly albumUri: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: readonly dateModified: number;
Deprecated version: N/A
Class name: Album
Method or attribute name: readonly dateModified: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: readonly count: number;
Deprecated version: N/A
Class name: Album
Method or attribute name: readonly count: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: readonly relativePath: string;
Deprecated version: N/A
Class name: Album
Method or attribute name: readonly relativePath: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: readonly coverUri: string;
Deprecated version: N/A
Class name: Album
Method or attribute name: readonly coverUri: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: commitModify(callback: AsyncCallback<void>): void;
Deprecated version: N/A
Class name: Album
Method or attribute name: commitModify(callback: AsyncCallback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: commitModify(): Promise<void>;
Deprecated version: N/A
Class name: Album
Method or attribute name: commitModify(): Promise<void>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: getFileAssets(callback: AsyncCallback<FetchFileResult>): void;
Deprecated version: N/A
Class name: Album
Method or attribute name: getFileAssets(callback: AsyncCallback<FetchFileResult>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void;
Deprecated version: N/A
Class name: Album
Method or attribute name: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Album
Method or attribute name: getFileAssets(options?: MediaFetchOptions): Promise<FetchFileResult>;
Deprecated version: N/A
Class name: Album
Method or attribute name: getFileAssets(options?: MediaFetchOptions): Promise<FetchFileResult>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DirectoryType
Deprecated version: N/A
Class name: DirectoryType
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DirectoryType
Method or attribute name: DIR_CAMERA = 0
Deprecated version: N/A
Class name: DirectoryType
Method or attribute name: DIR_CAMERA = 0
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DirectoryType
Method or attribute name: DIR_VIDEO
Deprecated version: N/A
Class name: DirectoryType
Method or attribute name: DIR_VIDEO
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DirectoryType
Method or attribute name: DIR_IMAGE
Deprecated version: N/A
Class name: DirectoryType
Method or attribute name: DIR_IMAGE
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DirectoryType
Method or attribute name: DIR_AUDIO
Deprecated version: N/A
Class name: DirectoryType
Method or attribute name: DIR_AUDIO
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DirectoryType
Method or attribute name: DIR_DOCUMENTS
Deprecated version: N/A
Class name: DirectoryType
Method or attribute name: DIR_DOCUMENTS
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DirectoryType
Method or attribute name: DIR_DOWNLOAD
Deprecated version: N/A
Class name: DirectoryType
Method or attribute name: DIR_DOWNLOAD
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Deprecated version: N/A
Class name: MediaLibrary
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: getPublicDirectory(type: DirectoryType, callback: AsyncCallback<string>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: getPublicDirectory(type: DirectoryType, callback: AsyncCallback<string>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: getPublicDirectory(type: DirectoryType): Promise<string>;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: getPublicDirectory(type: DirectoryType): Promise<string>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: getFileAssets(options: MediaFetchOptions): Promise<FetchFileResult>;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: getFileAssets(options: MediaFetchOptions): Promise<FetchFileResult>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: on(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: off(type: ‘deviceChange’|‘albumChange’|‘imageChange’|‘audioChange’|‘videoChange’|‘fileChange’|‘remoteFileChange’, callback?: Callback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback<FileAsset>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback<FileAsset>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise<FileAsset>;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise<FileAsset>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: deleteAsset(uri: string, callback: AsyncCallback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: deleteAsset(uri: string, callback: AsyncCallback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: deleteAsset(uri: string): Promise<void>;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: deleteAsset(uri: string): Promise<void>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: getAlbums(options: MediaFetchOptions, callback: AsyncCallback<Array<Album>>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: getAlbums(options: MediaFetchOptions, callback: AsyncCallback<Array<Album>>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: getAlbums(options: MediaFetchOptions): Promise<Array<Album>>;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: getAlbums(options: MediaFetchOptions): Promise<Array<Album>>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: getActivePeers(callback: AsyncCallback<Array<PeerInfo>>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: getActivePeers(callback: AsyncCallback<Array<PeerInfo>>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: getActivePeers(): Promise<Array<PeerInfo>>;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: getActivePeers(): Promise<Array<PeerInfo>>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: getAllPeers(callback: AsyncCallback<Array<PeerInfo>>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: getAllPeers(callback: AsyncCallback<Array<PeerInfo>>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: getAllPeers(): Promise<Array<PeerInfo>>;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: getAllPeers(): Promise<Array<PeerInfo>>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: release(callback: AsyncCallback<void>): void;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: release(callback: AsyncCallback<void>): void;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: MediaLibrary
Method or attribute name: release(): Promise<void>;
Deprecated version: N/A
Class name: MediaLibrary
Method or attribute name: release(): Promise<void>;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Size
Deprecated version: N/A
Class name: Size
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Size
Method or attribute name: width: number;
Deprecated version: N/A
Class name: Size
Method or attribute name: width: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: Size
Method or attribute name: height: number;
Deprecated version: N/A
Class name: Size
Method or attribute name: height: number;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: PeerInfo
Deprecated version: N/A
Class name: PeerInfo
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: PeerInfo
Method or attribute name: readonly deviceName: string;
Deprecated version: N/A
Class name: PeerInfo
Method or attribute name: readonly deviceName: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: PeerInfo
Method or attribute name: readonly networkId: string;
Deprecated version: N/A
Class name: PeerInfo
Method or attribute name: readonly networkId: string;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: PeerInfo
Method or attribute name: readonly deviceType: DeviceType;
Deprecated version: N/A
Class name: PeerInfo
Method or attribute name: readonly deviceType: DeviceType;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: PeerInfo
Method or attribute name: readonly isOnline: boolean;
Deprecated version: N/A
Class name: PeerInfo
Method or attribute name: readonly isOnline: boolean;
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DeviceType
Deprecated version: N/A
Class name: DeviceType
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DeviceType
Method or attribute name: TYPE_UNKNOWN = 0
Deprecated version: N/A
Class name: DeviceType
Method or attribute name: TYPE_UNKNOWN = 0
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DeviceType
Method or attribute name: TYPE_LAPTOP
Deprecated version: N/A
Class name: DeviceType
Method or attribute name: TYPE_LAPTOP
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DeviceType
Method or attribute name: TYPE_PHONE
Deprecated version: N/A
Class name: DeviceType
Method or attribute name: TYPE_PHONE
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DeviceType
Method or attribute name: TYPE_TABLET
Deprecated version: N/A
Class name: DeviceType
Method or attribute name: TYPE_TABLET
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DeviceType
Method or attribute name: TYPE_WATCH
Deprecated version: N/A
Class name: DeviceType
Method or attribute name: TYPE_WATCH
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DeviceType
Method or attribute name: TYPE_CAR
Deprecated version: N/A
Class name: DeviceType
Method or attribute name: TYPE_CAR
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Deprecated version changed Class name: DeviceType
Method or attribute name: TYPE_TV
Deprecated version: N/A
Class name: DeviceType
Method or attribute name: TYPE_TV
Deprecated version: 9
Substitute API: ohos.file.picker
@ohos.multimedia.mediaLibrary.d.ts
Initial version changed Class name: AudioManager
Method or attribute name: on(type: ‘volumeChange’, callback: Callback<VolumeEvent>): void;
Initial version: 8
Class name: AudioManager
Method or attribute name: on(type: ‘volumeChange’, callback: Callback<VolumeEvent>): void;
Initial version: 9
@ohos.multimedia.audio.d.ts
Initial version changed Class name: VolumeEvent
Initial version: 8
Class name: VolumeEvent
Initial version: 9
@ohos.multimedia.audio.d.ts
Initial version changed Class name: VolumeEvent
Method or attribute name: volumeType: AudioVolumeType;
Initial version: 8
Class name: VolumeEvent
Method or attribute name: volumeType: AudioVolumeType;
Initial version: 9
@ohos.multimedia.audio.d.ts
Initial version changed Class name: VolumeEvent
Method or attribute name: volume: number;
Initial version: 8
Class name: VolumeEvent
Method or attribute name: volume: number;
Initial version: 9
@ohos.multimedia.audio.d.ts
Initial version changed Class name: VolumeEvent
Method or attribute name: updateUi: boolean;
Initial version: 8
Class name: VolumeEvent
Method or attribute name: updateUi: boolean;
Initial version: 9
@ohos.multimedia.audio.d.ts
Initial version changed Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Initial version: N/A
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Initial version: N/A
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Initial version: N/A
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: avSession
Method or attribute name: function off(type: ‘sessionServiceDie’, callback?: () => void): void;
Initial version: N/A
Class name: avSession
Method or attribute name: function off(type: ‘sessionServiceDie’, callback?: () => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘seek’, callback?: (time: number) => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘seek’, callback?: (time: number) => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘setSpeed’, callback?: (speed: number) => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘setSpeed’, callback?: (speed: number) => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘setLoopMode’, callback?: (mode: LoopMode) => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘setLoopMode’, callback?: (mode: LoopMode) => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘toggleFavorite’, callback?: (assetId: string) => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘toggleFavorite’, callback?: (assetId: string) => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘handleKeyEvent’, callback?: (event: KeyEvent) => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘handleKeyEvent’, callback?: (event: KeyEvent) => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSession
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Initial version: N/A
Class name: AVSession
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSessionController
Method or attribute name: off(type: ‘metadataChange’, callback?: (data: AVMetadata) => void);
Initial version: N/A
Class name: AVSessionController
Method or attribute name: off(type: ‘metadataChange’, callback?: (data: AVMetadata) => void);
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSessionController
Method or attribute name: off(type: ‘playbackStateChange’, callback?: (state: AVPlaybackState) => void);
Initial version: N/A
Class name: AVSessionController
Method or attribute name: off(type: ‘playbackStateChange’, callback?: (state: AVPlaybackState) => void);
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSessionController
Method or attribute name: off(type: ‘sessionDestroy’, callback?: () => void);
Initial version: N/A
Class name: AVSessionController
Method or attribute name: off(type: ‘sessionDestroy’, callback?: () => void);
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSessionController
Method or attribute name: off(type: ‘activeStateChange’, callback?: (isActive: boolean) => void);
Initial version: N/A
Class name: AVSessionController
Method or attribute name: off(type: ‘activeStateChange’, callback?: (isActive: boolean) => void);
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSessionController
Method or attribute name: off(type: ‘validCommandChange’, callback?: (commands: Array<AVControlCommandType>) => void);
Initial version: N/A
Class name: AVSessionController
Method or attribute name: off(type: ‘validCommandChange’, callback?: (commands: Array<AVControlCommandType>) => void);
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSessionController
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Initial version: N/A
Class name: AVSessionController
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVFileDescriptor
Initial version: N/A
Class name: AVFileDescriptor
Initial version: 9
@ohos.multimedia.media.d.ts
Error code added NA Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Error code: 201, 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Error code: 201, 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Error code: 201, 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: avSession
Method or attribute name: function off(type: ‘sessionServiceDie’, callback?: () => void): void;
Error code: 201, 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘seek’, callback?: (time: number) => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘setSpeed’, callback?: (speed: number) => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘setLoopMode’, callback?: (mode: LoopMode) => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘toggleFavorite’, callback?: (assetId: string) => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘handleKeyEvent’, callback?: (event: KeyEvent) => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSession
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSessionController
Method or attribute name: off(type: ‘metadataChange’, callback?: (data: AVMetadata) => void);
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSessionController
Method or attribute name: off(type: ‘playbackStateChange’, callback?: (state: AVPlaybackState) => void);
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSessionController
Method or attribute name: off(type: ‘sessionDestroy’, callback?: () => void);
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSessionController
Method or attribute name: off(type: ‘activeStateChange’, callback?: (isActive: boolean) => void);
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSessionController
Method or attribute name: off(type: ‘validCommandChange’, callback?: (commands: Array<AVControlCommandType>) => void);
Error code: 401
@ohos.multimedia.avsession.d.ts
Error code added NA Class name: AVSessionController
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Error code: 401
@ohos.multimedia.avsession.d.ts
Permission added Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Permission: N/A
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Permission: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
Permission added Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Permission: N/A
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Permission: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
Permission added Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Permission: N/A
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
Permission: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
SysCap changed Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
SysCap:SystemCapability.Multimedia.AVSession.Core
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
SysCap:SystemCapability.Multimedia.AVSession.Manager
@ohos.multimedia.avsession.d.ts
SysCap changed Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
SysCap:SystemCapability.Multimedia.AVSession.Core
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
SysCap:SystemCapability.Multimedia.AVSession.Manager
@ohos.multimedia.avsession.d.ts
SysCap changed Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
SysCap:SystemCapability.Multimedia.AVSession.Core
Class name: avSession
Method or attribute name: function off(type: ‘sessionCreate’ |‘sessionDestroy’ |‘topSessionChange’, callback?: (session: AVSessionDescriptor) => void): void;
SysCap:SystemCapability.Multimedia.AVSession.Manager
@ohos.multimedia.avsession.d.ts
SysCap changed Class name: AVFileDescriptor
SysCap: N/A
Class name: AVFileDescriptor
SysCap:SystemCapability.Multimedia.Media.Core
@ohos.multimedia.media.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-dfx

0  赞