openharmony 鸿蒙 js-apidiff-MediaKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
New APINAClass name: global;
API declaration: declare namespace media
Differences: declare namespace media
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createAVPlayer(callback: AsyncCallback<AVPlayer>): void;
Differences: function createAVPlayer(callback: AsyncCallback<AVPlayer>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createAVPlayer(): Promise<AVPlayer>;
Differences: function createAVPlayer(): Promise<AVPlayer>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createAVRecorder(callback: AsyncCallback<AVRecorder>): void;
Differences: function createAVRecorder(callback: AsyncCallback<AVRecorder>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createAVRecorder(): Promise<AVRecorder>;
Differences: function createAVRecorder(): Promise<AVRecorder>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createAudioPlayer(): AudioPlayer;
Differences: function createAudioPlayer(): AudioPlayer;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createAudioRecorder(): AudioRecorder;
Differences: function createAudioRecorder(): AudioRecorder;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createVideoPlayer(callback: AsyncCallback<VideoPlayer>): void;
Differences: function createVideoPlayer(callback: AsyncCallback<VideoPlayer>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createVideoPlayer(): Promise<VideoPlayer>;
Differences: function createVideoPlayer(): Promise<VideoPlayer>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createSoundPool(maxStreams: number, audioRenderInfo: audio.AudioRendererInfo, callback: AsyncCallback<SoundPool>): void;
Differences: function createSoundPool(maxStreams: number, audioRenderInfo: audio.AudioRendererInfo, callback: AsyncCallback<SoundPool>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createSoundPool(maxStreams: number, audioRenderInfo: audio.AudioRendererInfo): Promise<SoundPool>;
Differences: function createSoundPool(maxStreams: number, audioRenderInfo: audio.AudioRendererInfo): Promise<SoundPool>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: type SoundPool = _SoundPool;
Differences: type SoundPool = _SoundPool;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: type PlayParameters = _PlayParameters;
Differences: type PlayParameters = _PlayParameters;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum StateChangeReason
Differences: enum StateChangeReason
api/@ohos.multimedia.media.d.ts
New APINAClass name: StateChangeReason;
API declaration: USER = 1
Differences: USER = 1
api/@ohos.multimedia.media.d.ts
New APINAClass name: StateChangeReason;
API declaration: BACKGROUND = 2
Differences: BACKGROUND = 2
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createAVMetadataExtractor(): Promise<AVMetadataExtractor>;
Differences: function createAVMetadataExtractor(): Promise<AVMetadataExtractor>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: function createAVMetadataExtractor(callback: AsyncCallback<AVMetadataExtractor>): void;
Differences: function createAVMetadataExtractor(callback: AsyncCallback<AVMetadataExtractor>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AVMetadataExtractor
Differences: interface AVMetadataExtractor
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadataExtractor;
API declaration: fdSrc?: AVFileDescriptor;
Differences: fdSrc?: AVFileDescriptor;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadataExtractor;
API declaration: dataSrc?: AVDataSrcDescriptor;
Differences: dataSrc?: AVDataSrcDescriptor;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadataExtractor;
API declaration: fetchMetadata(callback: AsyncCallback<AVMetadata>): void;
Differences: fetchMetadata(callback: AsyncCallback<AVMetadata>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadataExtractor;
API declaration: fetchMetadata(): Promise<AVMetadata>;
Differences: fetchMetadata(): Promise<AVMetadata>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadataExtractor;
API declaration: fetchAlbumCover(callback: AsyncCallback<image.PixelMap>): void;
Differences: fetchAlbumCover(callback: AsyncCallback<image.PixelMap>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadataExtractor;
API declaration: fetchAlbumCover(): Promise<image.PixelMap>;
Differences: fetchAlbumCover(): Promise<image.PixelMap>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadataExtractor;
API declaration: release(callback: AsyncCallback<void>): void;
Differences: release(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadataExtractor;
API declaration: release(): Promise<void>;
Differences: release(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AVMetadata
Differences: interface AVMetadata
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: album?: string;
Differences: album?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: albumArtist?: string;
Differences: albumArtist?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: artist?: string;
Differences: artist?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: author?: string;
Differences: author?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: dateTime?: string;
Differences: dateTime?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: dateTimeFormat?: string;
Differences: dateTimeFormat?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: composer?: string;
Differences: composer?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: duration?: string;
Differences: duration?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: genre?: string;
Differences: genre?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: hasAudio?: string;
Differences: hasAudio?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: hasVideo?: string;
Differences: hasVideo?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: mimeType?: string;
Differences: mimeType?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: trackCount?: string;
Differences: trackCount?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: sampleRate?: string;
Differences: sampleRate?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: title?: string;
Differences: title?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: videoHeight?: string;
Differences: videoHeight?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: videoWidth?: string;
Differences: videoWidth?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVMetadata;
API declaration: videoOrientation?: string;
Differences: videoOrientation?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum AVErrorCode
Differences: enum AVErrorCode
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_OK = 0
Differences: AVERR_OK = 0
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_NO_PERMISSION = 201
Differences: AVERR_NO_PERMISSION = 201
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_INVALID_PARAMETER = 401
Differences: AVERR_INVALID_PARAMETER = 401
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_UNSUPPORT_CAPABILITY = 801
Differences: AVERR_UNSUPPORT_CAPABILITY = 801
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_NO_MEMORY = 5400101
Differences: AVERR_NO_MEMORY = 5400101
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_OPERATE_NOT_PERMIT = 5400102
Differences: AVERR_OPERATE_NOT_PERMIT = 5400102
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_IO = 5400103
Differences: AVERR_IO = 5400103
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_TIMEOUT = 5400104
Differences: AVERR_TIMEOUT = 5400104
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_SERVICE_DIED = 5400105
Differences: AVERR_SERVICE_DIED = 5400105
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_UNSUPPORT_FORMAT = 5400106
Differences: AVERR_UNSUPPORT_FORMAT = 5400106
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVErrorCode;
API declaration: AVERR_AUDIO_INTERRUPTED = 5400107
Differences: AVERR_AUDIO_INTERRUPTED = 5400107
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: type AVPlayerState = 'idle' |'initialized' |'prepared' |'playing' |'paused' |'completed' |'stopped' |'released' |'error';
Differences: type AVPlayerState = 'idle' |'initialized' |'prepared' |'playing' |'paused' |'completed' |'stopped' |'released' |'error';
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AVPlayer
Differences: interface AVPlayer
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: prepare(callback: AsyncCallback<void>): void;
Differences: prepare(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: prepare(): Promise<void>;
Differences: prepare(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: play(callback: AsyncCallback<void>): void;
Differences: play(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: play(): Promise<void>;
Differences: play(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: pause(callback: AsyncCallback<void>): void;
Differences: pause(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: pause(): Promise<void>;
Differences: pause(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: stop(callback: AsyncCallback<void>): void;
Differences: stop(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: stop(): Promise<void>;
Differences: stop(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: reset(callback: AsyncCallback<void>): void;
Differences: reset(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: reset(): Promise<void>;
Differences: reset(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: release(callback: AsyncCallback<void>): void;
Differences: release(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: release(): Promise<void>;
Differences: release(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: seek(timeMs: number, mode?: SeekMode): void;
Differences: seek(timeMs: number, mode?: SeekMode): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: setVolume(volume: number): void;
Differences: setVolume(volume: number): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;
Differences: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: getTrackDescription(): Promise<Array<MediaDescription>>;
Differences: getTrackDescription(): Promise<Array<MediaDescription>>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: url?: string;
Differences: url?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: fdSrc?: AVFileDescriptor;
Differences: fdSrc?: AVFileDescriptor;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: dataSrc?: AVDataSrcDescriptor;
Differences: dataSrc?: AVDataSrcDescriptor;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: loop: boolean;
Differences: loop: boolean;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: audioInterruptMode?: audio.InterruptMode;
Differences: audioInterruptMode?: audio.InterruptMode;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: audioRendererInfo?: audio.AudioRendererInfo;
Differences: audioRendererInfo?: audio.AudioRendererInfo;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: audioEffectMode?: audio.AudioEffectMode;
Differences: audioEffectMode?: audio.AudioEffectMode;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: readonly currentTime: number;
Differences: readonly currentTime: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: readonly duration: number;
Differences: readonly duration: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: readonly state: AVPlayerState;
Differences: readonly state: AVPlayerState;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: surfaceId?: string;
Differences: surfaceId?: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: readonly width: number;
Differences: readonly width: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: readonly height: number;
Differences: readonly height: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: videoScaleType?: VideoScaleType;
Differences: videoScaleType?: VideoScaleType;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: setSpeed(speed: PlaybackSpeed): void;
Differences: setSpeed(speed: PlaybackSpeed): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: setBitrate(bitrate: number): void;
Differences: setBitrate(bitrate: number): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: setDecryptionConfig(mediaKeySession: drm.MediaKeySession, secureVideoPath: boolean): void;
Differences: setDecryptionConfig(mediaKeySession: drm.MediaKeySession, secureVideoPath: boolean): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: getMediaKeySystemInfos(): Array<drm.MediaKeySystemInfo>;
Differences: getMediaKeySystemInfos(): Array<drm.MediaKeySystemInfo>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'mediaKeySystemInfoUpdate', callback: (mediaKeySystemInfo: Array<drm.MediaKeySystemInfo>) => void): void;
Differences: on(type: 'mediaKeySystemInfoUpdate', callback: (mediaKeySystemInfo: Array<drm.MediaKeySystemInfo>) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'mediaKeySystemInfoUpdate', callback?: (mediaKeySystemInfo: Array<drm.MediaKeySystemInfo>) => void): void;
Differences: off(type: 'mediaKeySystemInfoUpdate', callback?: (mediaKeySystemInfo: Array<drm.MediaKeySystemInfo>) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void;
Differences: on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'stateChange'): void;
Differences: off(type: 'stateChange'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'volumeChange', callback: Callback<number>): void;
Differences: on(type: 'volumeChange', callback: Callback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'volumeChange'): void;
Differences: off(type: 'volumeChange'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'endOfStream', callback: Callback<void>): void;
Differences: on(type: 'endOfStream', callback: Callback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'endOfStream'): void;
Differences: off(type: 'endOfStream'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'seekDone', callback: Callback<number>): void;
Differences: on(type: 'seekDone', callback: Callback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'seekDone'): void;
Differences: off(type: 'seekDone'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'speedDone', callback: Callback<number>): void;
Differences: on(type: 'speedDone', callback: Callback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'speedDone'): void;
Differences: off(type: 'speedDone'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'bitrateDone', callback: Callback<number>): void;
Differences: on(type: 'bitrateDone', callback: Callback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'bitrateDone'): void;
Differences: off(type: 'bitrateDone'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'timeUpdate', callback: Callback<number>): void;
Differences: on(type: 'timeUpdate', callback: Callback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'timeUpdate'): void;
Differences: off(type: 'timeUpdate'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'durationUpdate', callback: Callback<number>): void;
Differences: on(type: 'durationUpdate', callback: Callback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'durationUpdate'): void;
Differences: off(type: 'durationUpdate'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
Differences: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'bufferingUpdate'): void;
Differences: off(type: 'bufferingUpdate'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'startRenderFrame', callback: Callback<void>): void;
Differences: on(type: 'startRenderFrame', callback: Callback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'startRenderFrame'): void;
Differences: off(type: 'startRenderFrame'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;
Differences: on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'videoSizeChange'): void;
Differences: off(type: 'videoSizeChange'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
Differences: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'audioInterrupt'): void;
Differences: off(type: 'audioInterrupt'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'availableBitrates', callback: (bitrates: Array<number>) => void): void;
Differences: on(type: 'availableBitrates', callback: (bitrates: Array<number>) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'availableBitrates'): void;
Differences: off(type: 'availableBitrates'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'error', callback: ErrorCallback): void;
Differences: on(type: 'error', callback: ErrorCallback): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'error'): void;
Differences: off(type: 'error'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: on(type: 'audioOutputDeviceChangeWithInfo', callback: Callback<audio.AudioStreamDeviceChangeInfo>): void;
Differences: on(type: 'audioOutputDeviceChangeWithInfo', callback: Callback<audio.AudioStreamDeviceChangeInfo>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVPlayer;
API declaration: off(type: 'audioOutputDeviceChangeWithInfo', callback?: Callback<audio.AudioStreamDeviceChangeInfo>): void;
Differences: off(type: 'audioOutputDeviceChangeWithInfo', callback?: Callback<audio.AudioStreamDeviceChangeInfo>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum MediaErrorCode
Differences: enum MediaErrorCode
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaErrorCode;
API declaration: MSERR_OK = 0
Differences: MSERR_OK = 0
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaErrorCode;
API declaration: MSERR_NO_MEMORY = 1
Differences: MSERR_NO_MEMORY = 1
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaErrorCode;
API declaration: MSERR_OPERATION_NOT_PERMIT = 2
Differences: MSERR_OPERATION_NOT_PERMIT = 2
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaErrorCode;
API declaration: MSERR_INVALID_VAL = 3
Differences: MSERR_INVALID_VAL = 3
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaErrorCode;
API declaration: MSERR_IO = 4
Differences: MSERR_IO = 4
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaErrorCode;
API declaration: MSERR_TIMEOUT = 5
Differences: MSERR_TIMEOUT = 5
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaErrorCode;
API declaration: MSERR_UNKNOWN = 6
Differences: MSERR_UNKNOWN = 6
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaErrorCode;
API declaration: MSERR_SERVICE_DIED = 7
Differences: MSERR_SERVICE_DIED = 7
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaErrorCode;
API declaration: MSERR_INVALID_STATE = 8
Differences: MSERR_INVALID_STATE = 8
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaErrorCode;
API declaration: MSERR_UNSUPPORTED = 9
Differences: MSERR_UNSUPPORTED = 9
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum BufferingInfoType
Differences: enum BufferingInfoType
api/@ohos.multimedia.media.d.ts
New APINAClass name: BufferingInfoType;
API declaration: BUFFERING_START = 1
Differences: BUFFERING_START = 1
api/@ohos.multimedia.media.d.ts
New APINAClass name: BufferingInfoType;
API declaration: BUFFERING_END = 2
Differences: BUFFERING_END = 2
api/@ohos.multimedia.media.d.ts
New APINAClass name: BufferingInfoType;
API declaration: BUFFERING_PERCENT = 3
Differences: BUFFERING_PERCENT = 3
api/@ohos.multimedia.media.d.ts
New APINAClass name: BufferingInfoType;
API declaration: CACHED_DURATION = 4
Differences: CACHED_DURATION = 4
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AVFileDescriptor
Differences: interface AVFileDescriptor
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVFileDescriptor;
API declaration: fd: number;
Differences: fd: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVFileDescriptor;
API declaration: offset?: number;
Differences: offset?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVFileDescriptor;
API declaration: length?: number;
Differences: length?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AVDataSrcDescriptor
Differences: interface AVDataSrcDescriptor
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVDataSrcDescriptor;
API declaration: fileSize: number;
Differences: fileSize: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVDataSrcDescriptor;
API declaration: callback: (buffer: ArrayBuffer, length: number, pos?: number) => number;
Differences: callback: (buffer: ArrayBuffer, length: number, pos?: number) => number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: type AudioState = 'idle' |'playing' |'paused' |'stopped' |'error';
Differences: type AudioState = 'idle' |'playing' |'paused' |'stopped' |'error';
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AudioPlayer
Differences: interface AudioPlayer
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: play(): void;
Differences: play(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: pause(): void;
Differences: pause(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: stop(): void;
Differences: stop(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: reset(): void;
Differences: reset(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: seek(timeMs: number): void;
Differences: seek(timeMs: number): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: setVolume(vol: number): void;
Differences: setVolume(vol: number): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: release(): void;
Differences: release(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;
Differences: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: getTrackDescription(): Promise<Array<MediaDescription>>;
Differences: getTrackDescription(): Promise<Array<MediaDescription>>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
Differences: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: src: string;
Differences: src: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: fdSrc: AVFileDescriptor;
Differences: fdSrc: AVFileDescriptor;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: loop: boolean;
Differences: loop: boolean;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: audioInterruptMode?: audio.InterruptMode;
Differences: audioInterruptMode?: audio.InterruptMode;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: readonly currentTime: number;
Differences: readonly currentTime: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: readonly duration: number;
Differences: readonly duration: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: readonly state: AudioState;
Differences: readonly state: AudioState;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
Differences: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
Differences: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
Differences: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
Differences: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
Differences: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
Differences: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
Differences: on(type: 'play' |'pause' |'stop' |'reset' |'dataLoad' |'finish' |'volumeChange', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'timeUpdate', callback: Callback<number>): void;
Differences: on(type: 'timeUpdate', callback: Callback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
Differences: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioPlayer;
API declaration: on(type: 'error', callback: ErrorCallback): void;
Differences: on(type: 'error', callback: ErrorCallback): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: type AVRecorderState = 'idle' |'prepared' |'started' |'paused' |'stopped' |'released' |'error';
Differences: type AVRecorderState = 'idle' |'prepared' |'started' |'paused' |'stopped' |'released' |'error';
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AVRecorder
Differences: interface AVRecorder
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: prepare(config: AVRecorderConfig, callback: AsyncCallback<void>): void;
Differences: prepare(config: AVRecorderConfig, callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: prepare(config: AVRecorderConfig): Promise<void>;
Differences: prepare(config: AVRecorderConfig): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: getAVRecorderConfig(callback: AsyncCallback<AVRecorderConfig>): void;
Differences: getAVRecorderConfig(callback: AsyncCallback<AVRecorderConfig>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: getAVRecorderConfig(): Promise<AVRecorderConfig>;
Differences: getAVRecorderConfig(): Promise<AVRecorderConfig>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: getInputSurface(callback: AsyncCallback<string>): void;
Differences: getInputSurface(callback: AsyncCallback<string>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: getInputSurface(): Promise<string>;
Differences: getInputSurface(): Promise<string>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: start(callback: AsyncCallback<void>): void;
Differences: start(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: start(): Promise<void>;
Differences: start(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: pause(callback: AsyncCallback<void>): void;
Differences: pause(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: pause(): Promise<void>;
Differences: pause(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: resume(callback: AsyncCallback<void>): void;
Differences: resume(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: resume(): Promise<void>;
Differences: resume(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: stop(callback: AsyncCallback<void>): void;
Differences: stop(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: stop(): Promise<void>;
Differences: stop(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: reset(callback: AsyncCallback<void>): void;
Differences: reset(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: reset(): Promise<void>;
Differences: reset(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: release(callback: AsyncCallback<void>): void;
Differences: release(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: release(): Promise<void>;
Differences: release(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: getCurrentAudioCapturerInfo(callback: AsyncCallback<audio.AudioCapturerChangeInfo>): void;
Differences: getCurrentAudioCapturerInfo(callback: AsyncCallback<audio.AudioCapturerChangeInfo>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: getCurrentAudioCapturerInfo(): Promise<audio.AudioCapturerChangeInfo>;
Differences: getCurrentAudioCapturerInfo(): Promise<audio.AudioCapturerChangeInfo>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: getAudioCapturerMaxAmplitude(callback: AsyncCallback<number>): void;
Differences: getAudioCapturerMaxAmplitude(callback: AsyncCallback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: getAudioCapturerMaxAmplitude(): Promise<number>;
Differences: getAudioCapturerMaxAmplitude(): Promise<number>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: getAvailableEncoder(callback: AsyncCallback<Array<EncoderInfo>>): void;
Differences: getAvailableEncoder(callback: AsyncCallback<Array<EncoderInfo>>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: getAvailableEncoder(): Promise<Array<EncoderInfo>>;
Differences: getAvailableEncoder(): Promise<Array<EncoderInfo>>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: readonly state: AVRecorderState;
Differences: readonly state: AVRecorderState;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: on(type: 'audioCapturerChange', callback: Callback<audio.AudioCapturerChangeInfo>): void;
Differences: on(type: 'audioCapturerChange', callback: Callback<audio.AudioCapturerChangeInfo>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: on(type: 'stateChange', callback: (state: AVRecorderState, reason: StateChangeReason) => void): void;
Differences: on(type: 'stateChange', callback: (state: AVRecorderState, reason: StateChangeReason) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: on(type: 'error', callback: ErrorCallback): void;
Differences: on(type: 'error', callback: ErrorCallback): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: off(type: 'stateChange'): void;
Differences: off(type: 'stateChange'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: off(type: 'error'): void;
Differences: off(type: 'error'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorder;
API declaration: off(type: 'audioCapturerChange'): void;
Differences: off(type: 'audioCapturerChange'): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum AudioEncoder
Differences: enum AudioEncoder
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioEncoder;
API declaration: DEFAULT = 0
Differences: DEFAULT = 0
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioEncoder;
API declaration: AMR_NB = 1
Differences: AMR_NB = 1
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioEncoder;
API declaration: AMR_WB = 2
Differences: AMR_WB = 2
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioEncoder;
API declaration: AAC_LC = 3
Differences: AAC_LC = 3
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioEncoder;
API declaration: HE_AAC = 4
Differences: HE_AAC = 4
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum AudioOutputFormat
Differences: enum AudioOutputFormat
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioOutputFormat;
API declaration: DEFAULT = 0
Differences: DEFAULT = 0
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioOutputFormat;
API declaration: MPEG_4 = 2
Differences: MPEG_4 = 2
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioOutputFormat;
API declaration: AMR_NB = 3
Differences: AMR_NB = 3
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioOutputFormat;
API declaration: AMR_WB = 4
Differences: AMR_WB = 4
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioOutputFormat;
API declaration: AAC_ADTS = 6
Differences: AAC_ADTS = 6
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface Location
Differences: interface Location
api/@ohos.multimedia.media.d.ts
New APINAClass name: Location;
API declaration: latitude: number;
Differences: latitude: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: Location;
API declaration: longitude: number;
Differences: longitude: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AudioRecorderConfig
Differences: interface AudioRecorderConfig
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorderConfig;
API declaration: audioEncoder?: AudioEncoder;
Differences: audioEncoder?: AudioEncoder;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorderConfig;
API declaration: audioEncodeBitRate?: number;
Differences: audioEncodeBitRate?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorderConfig;
API declaration: audioSampleRate?: number;
Differences: audioSampleRate?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorderConfig;
API declaration: numberOfChannels?: number;
Differences: numberOfChannels?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorderConfig;
API declaration: format?: AudioOutputFormat;
Differences: format?: AudioOutputFormat;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorderConfig;
API declaration: uri: string;
Differences: uri: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorderConfig;
API declaration: location?: Location;
Differences: location?: Location;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorderConfig;
API declaration: audioEncoderMime?: CodecMimeType;
Differences: audioEncoderMime?: CodecMimeType;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorderConfig;
API declaration: fileFormat?: ContainerFormatType;
Differences: fileFormat?: ContainerFormatType;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AudioRecorder
Differences: interface AudioRecorder
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: prepare(config: AudioRecorderConfig): void;
Differences: prepare(config: AudioRecorderConfig): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: start(): void;
Differences: start(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: pause(): void;
Differences: pause(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: resume(): void;
Differences: resume(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: stop(): void;
Differences: stop(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: release(): void;
Differences: release(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: reset(): void;
Differences: reset(): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
Differences: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
Differences: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
Differences: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
Differences: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
Differences: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
Differences: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
Differences: on(type: 'prepare' |'start' |'pause' |'resume' |'stop' |'release' |'reset', callback: () => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioRecorder;
API declaration: on(type: 'error', callback: ErrorCallback): void;
Differences: on(type: 'error', callback: ErrorCallback): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: type VideoPlayState = 'idle' |'prepared' |'playing' |'paused' |'stopped' |'error';
Differences: type VideoPlayState = 'idle' |'prepared' |'playing' |'paused' |'stopped' |'error';
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum PlaybackSpeed
Differences: enum PlaybackSpeed
api/@ohos.multimedia.media.d.ts
New APINAClass name: PlaybackSpeed;
API declaration: SPEED_FORWARD_0_75_X = 0
Differences: SPEED_FORWARD_0_75_X = 0
api/@ohos.multimedia.media.d.ts
New APINAClass name: PlaybackSpeed;
API declaration: SPEED_FORWARD_1_00_X = 1
Differences: SPEED_FORWARD_1_00_X = 1
api/@ohos.multimedia.media.d.ts
New APINAClass name: PlaybackSpeed;
API declaration: SPEED_FORWARD_1_25_X = 2
Differences: SPEED_FORWARD_1_25_X = 2
api/@ohos.multimedia.media.d.ts
New APINAClass name: PlaybackSpeed;
API declaration: SPEED_FORWARD_1_75_X = 3
Differences: SPEED_FORWARD_1_75_X = 3
api/@ohos.multimedia.media.d.ts
New APINAClass name: PlaybackSpeed;
API declaration: SPEED_FORWARD_2_00_X = 4
Differences: SPEED_FORWARD_2_00_X = 4
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface VideoPlayer
Differences: interface VideoPlayer
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: setDisplaySurface(surfaceId: string, callback: AsyncCallback<void>): void;
Differences: setDisplaySurface(surfaceId: string, callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: setDisplaySurface(surfaceId: string): Promise<void>;
Differences: setDisplaySurface(surfaceId: string): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: prepare(callback: AsyncCallback<void>): void;
Differences: prepare(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: prepare(): Promise<void>;
Differences: prepare(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: play(callback: AsyncCallback<void>): void;
Differences: play(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: play(): Promise<void>;
Differences: play(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: pause(callback: AsyncCallback<void>): void;
Differences: pause(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: pause(): Promise<void>;
Differences: pause(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: stop(callback: AsyncCallback<void>): void;
Differences: stop(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: stop(): Promise<void>;
Differences: stop(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: reset(callback: AsyncCallback<void>): void;
Differences: reset(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: reset(): Promise<void>;
Differences: reset(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: seek(timeMs: number, callback: AsyncCallback<number>): void;
Differences: seek(timeMs: number, callback: AsyncCallback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: seek(timeMs: number, mode: SeekMode, callback: AsyncCallback<number>): void;
Differences: seek(timeMs: number, mode: SeekMode, callback: AsyncCallback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: seek(timeMs: number, mode?: SeekMode): Promise<number>;
Differences: seek(timeMs: number, mode?: SeekMode): Promise<number>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: setVolume(vol: number, callback: AsyncCallback<void>): void;
Differences: setVolume(vol: number, callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: setVolume(vol: number): Promise<void>;
Differences: setVolume(vol: number): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: release(callback: AsyncCallback<void>): void;
Differences: release(callback: AsyncCallback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: release(): Promise<void>;
Differences: release(): Promise<void>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;
Differences: getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: getTrackDescription(): Promise<Array<MediaDescription>>;
Differences: getTrackDescription(): Promise<Array<MediaDescription>>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: url: string;
Differences: url: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: fdSrc: AVFileDescriptor;
Differences: fdSrc: AVFileDescriptor;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: loop: boolean;
Differences: loop: boolean;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: readonly currentTime: number;
Differences: readonly currentTime: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: readonly duration: number;
Differences: readonly duration: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: readonly state: VideoPlayState;
Differences: readonly state: VideoPlayState;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: readonly width: number;
Differences: readonly width: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: readonly height: number;
Differences: readonly height: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: audioInterruptMode?: audio.InterruptMode;
Differences: audioInterruptMode?: audio.InterruptMode;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: videoScaleType?: VideoScaleType;
Differences: videoScaleType?: VideoScaleType;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: setSpeed(speed: number, callback: AsyncCallback<number>): void;
Differences: setSpeed(speed: number, callback: AsyncCallback<number>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: setSpeed(speed: number): Promise<number>;
Differences: setSpeed(speed: number): Promise<number>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: on(type: 'playbackCompleted', callback: Callback<void>): void;
Differences: on(type: 'playbackCompleted', callback: Callback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
Differences: on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: on(type: 'startRenderFrame', callback: Callback<void>): void;
Differences: on(type: 'startRenderFrame', callback: Callback<void>): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void;
Differences: on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
Differences: on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoPlayer;
API declaration: on(type: 'error', callback: ErrorCallback): void;
Differences: on(type: 'error', callback: ErrorCallback): void;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum VideoScaleType
Differences: enum VideoScaleType
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoScaleType;
API declaration: VIDEO_SCALE_TYPE_FIT = 0
Differences: VIDEO_SCALE_TYPE_FIT = 0
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoScaleType;
API declaration: VIDEO_SCALE_TYPE_FIT_CROP = 1
Differences: VIDEO_SCALE_TYPE_FIT_CROP = 1
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum ContainerFormatType
Differences: enum ContainerFormatType
api/@ohos.multimedia.media.d.ts
New APINAClass name: ContainerFormatType;
API declaration: CFT_MPEG_4 = 'mp4'
Differences: CFT_MPEG_4 = 'mp4'
api/@ohos.multimedia.media.d.ts
New APINAClass name: ContainerFormatType;
API declaration: CFT_MPEG_4A = 'm4a'
Differences: CFT_MPEG_4A = 'm4a'
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum MediaType
Differences: enum MediaType
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaType;
API declaration: MEDIA_TYPE_AUD = 0
Differences: MEDIA_TYPE_AUD = 0
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaType;
API declaration: MEDIA_TYPE_VID = 1
Differences: MEDIA_TYPE_VID = 1
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum MediaDescriptionKey
Differences: enum MediaDescriptionKey
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescriptionKey;
API declaration: MD_KEY_TRACK_INDEX = 'track_index'
Differences: MD_KEY_TRACK_INDEX = 'track_index'
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescriptionKey;
API declaration: MD_KEY_TRACK_TYPE = 'track_type'
Differences: MD_KEY_TRACK_TYPE = 'track_type'
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescriptionKey;
API declaration: MD_KEY_CODEC_MIME = 'codec_mime'
Differences: MD_KEY_CODEC_MIME = 'codec_mime'
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescriptionKey;
API declaration: MD_KEY_DURATION = 'duration'
Differences: MD_KEY_DURATION = 'duration'
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescriptionKey;
API declaration: MD_KEY_BITRATE = 'bitrate'
Differences: MD_KEY_BITRATE = 'bitrate'
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescriptionKey;
API declaration: MD_KEY_WIDTH = 'width'
Differences: MD_KEY_WIDTH = 'width'
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescriptionKey;
API declaration: MD_KEY_HEIGHT = 'height'
Differences: MD_KEY_HEIGHT = 'height'
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescriptionKey;
API declaration: MD_KEY_FRAME_RATE = 'frame_rate'
Differences: MD_KEY_FRAME_RATE = 'frame_rate'
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescriptionKey;
API declaration: MD_KEY_AUD_CHANNEL_COUNT = 'channel_count'
Differences: MD_KEY_AUD_CHANNEL_COUNT = 'channel_count'
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescriptionKey;
API declaration: MD_KEY_AUD_SAMPLE_RATE = 'sample_rate'
Differences: MD_KEY_AUD_SAMPLE_RATE = 'sample_rate'
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum AudioSourceType
Differences: enum AudioSourceType
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioSourceType;
API declaration: AUDIO_SOURCE_TYPE_DEFAULT = 0
Differences: AUDIO_SOURCE_TYPE_DEFAULT = 0
api/@ohos.multimedia.media.d.ts
New APINAClass name: AudioSourceType;
API declaration: AUDIO_SOURCE_TYPE_MIC = 1
Differences: AUDIO_SOURCE_TYPE_MIC = 1
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum VideoSourceType
Differences: enum VideoSourceType
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoSourceType;
API declaration: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0
Differences: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0
api/@ohos.multimedia.media.d.ts
New APINAClass name: VideoSourceType;
API declaration: VIDEO_SOURCE_TYPE_SURFACE_ES = 1
Differences: VIDEO_SOURCE_TYPE_SURFACE_ES = 1
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface EncoderInfo
Differences: interface EncoderInfo
api/@ohos.multimedia.media.d.ts
New APINAClass name: EncoderInfo;
API declaration: mimeType: CodecMimeType;
Differences: mimeType: CodecMimeType;
api/@ohos.multimedia.media.d.ts
New APINAClass name: EncoderInfo;
API declaration: type: string;
Differences: type: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: EncoderInfo;
API declaration: bitRate?: Range;
Differences: bitRate?: Range;
api/@ohos.multimedia.media.d.ts
New APINAClass name: EncoderInfo;
API declaration: frameRate?: Range;
Differences: frameRate?: Range;
api/@ohos.multimedia.media.d.ts
New APINAClass name: EncoderInfo;
API declaration: width?: Range;
Differences: width?: Range;
api/@ohos.multimedia.media.d.ts
New APINAClass name: EncoderInfo;
API declaration: height?: Range;
Differences: height?: Range;
api/@ohos.multimedia.media.d.ts
New APINAClass name: EncoderInfo;
API declaration: channels?: Range;
Differences: channels?: Range;
api/@ohos.multimedia.media.d.ts
New APINAClass name: EncoderInfo;
API declaration: sampleRate?: Array<number>;
Differences: sampleRate?: Array<number>;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface Range
Differences: interface Range
api/@ohos.multimedia.media.d.ts
New APINAClass name: Range;
API declaration: min: number;
Differences: min: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: Range;
API declaration: max: number;
Differences: max: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AVRecorderProfile
Differences: interface AVRecorderProfile
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: audioBitrate?: number;
Differences: audioBitrate?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: audioChannels?: number;
Differences: audioChannels?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: audioCodec?: CodecMimeType;
Differences: audioCodec?: CodecMimeType;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: audioSampleRate?: number;
Differences: audioSampleRate?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: fileFormat: ContainerFormatType;
Differences: fileFormat: ContainerFormatType;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: videoBitrate?: number;
Differences: videoBitrate?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: videoCodec?: CodecMimeType;
Differences: videoCodec?: CodecMimeType;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: videoFrameWidth?: number;
Differences: videoFrameWidth?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: videoFrameHeight?: number;
Differences: videoFrameHeight?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: videoFrameRate?: number;
Differences: videoFrameRate?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderProfile;
API declaration: isHdr?: boolean;
Differences: isHdr?: boolean;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface AVRecorderConfig
Differences: interface AVRecorderConfig
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderConfig;
API declaration: audioSourceType?: AudioSourceType;
Differences: audioSourceType?: AudioSourceType;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderConfig;
API declaration: videoSourceType?: VideoSourceType;
Differences: videoSourceType?: VideoSourceType;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderConfig;
API declaration: profile: AVRecorderProfile;
Differences: profile: AVRecorderProfile;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderConfig;
API declaration: url: string;
Differences: url: string;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderConfig;
API declaration: rotation?: number;
Differences: rotation?: number;
api/@ohos.multimedia.media.d.ts
New APINAClass name: AVRecorderConfig;
API declaration: location?: Location;
Differences: location?: Location;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: interface MediaDescription
Differences: interface MediaDescription
api/@ohos.multimedia.media.d.ts
New APINAClass name: MediaDescription;
API declaration: [key: string]: Object;
Differences: [key: string]: Object;
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum SeekMode
Differences: enum SeekMode
api/@ohos.multimedia.media.d.ts
New APINAClass name: SeekMode;
API declaration: SEEK_NEXT_SYNC = 0
Differences: SEEK_NEXT_SYNC = 0
api/@ohos.multimedia.media.d.ts
New APINAClass name: SeekMode;
API declaration: SEEK_PREV_SYNC = 1
Differences: SEEK_PREV_SYNC = 1
api/@ohos.multimedia.media.d.ts
New APINAClass name: media;
API declaration: enum CodecMimeType
Differences: enum CodecMimeType
api/@ohos.multimedia.media.d.ts
New APINAClass name: CodecMimeType;
API declaration: VIDEO_H263 = 'video/h263'
Differences: VIDEO_H263 = 'video/h263'
api/@ohos.multimedia.media.d.ts
New APINAClass name: CodecMimeType;
API declaration: VIDEO_AVC = 'video/avc'
Differences: VIDEO_AVC = 'video/avc'
api/@ohos.multimedia.media.d.ts
New APINAClass name: CodecMimeType;
API declaration: VIDEO_MPEG2 = 'video/mpeg2'
Differences: VIDEO_MPEG2 = 'video/mpeg2'
api/@ohos.multimedia.media.d.ts
New APINAClass name: CodecMimeType;
API declaration: VIDEO_MPEG4 = 'video/mp4v-es'
Differences: VIDEO_MPEG4 = 'video/mp4v-es'
api/@ohos.multimedia.media.d.ts
New APINAClass name: CodecMimeType;
API declaration: VIDEO_VP8 = 'video/x-vnd.on2.vp8'
Differences: VIDEO_VP8 = 'video/x-vnd.on2.vp8'
api/@ohos.multimedia.media.d.ts
New APINAClass name: CodecMimeType;
API declaration: AUDIO_AAC = 'audio/mp4a-latm'
Differences: AUDIO_AAC = 'audio/mp4a-latm'
api/@ohos.multimedia.media.d.ts
New APINAClass name: CodecMimeType;
API declaration: AUDIO_VORBIS = 'audio/vorbis'
Differences: AUDIO_VORBIS = 'audio/vorbis'
api/@ohos.multimedia.media.d.ts
New APINAClass name: CodecMimeType;
API declaration: AUDIO_FLAC = 'audio/flac'
Differences: AUDIO_FLAC = 'audio/flac'
api/@ohos.multimedia.media.d.ts
New APINAClass name: CodecMimeType;
API declaration: VIDEO_HEVC = 'video/hevc'
Differences: VIDEO_HEVC = 'video/hevc'
api/@ohos.multimedia.media.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.multimedia.media.d.ts
Differences: MediaKit
api/@ohos.multimedia.media.d.ts
New KitClass name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: kits@kit.MediaKit.d.ts
Differences: MediaKit
kits/@kit.MediaKit.d.ts

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apidiff-ArkGraphics2D

openharmony 鸿蒙 js-apidiff-InputKit

openharmony 鸿蒙 js-apidiff-BasicServicesKit

openharmony 鸿蒙 js-apidiff-ConnectivityKit

openharmony 鸿蒙 js-apidiff-ArkWeb

openharmony 鸿蒙 js-apidiff-MultimodalAwarenessKit

openharmony 鸿蒙 js-apidiff-ArkData

openharmony 鸿蒙 js-apidiff-NA

openharmony 鸿蒙 js-apidiff-IPCKit

openharmony 鸿蒙 js-apidiff-ArkTS

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/aIpFV16j