Change Type Old Version New Version d.ts File
Deleted Class name: avSession;
Method or attribute name: function on(type: 'sessionCreate' | 'sessionDestroy' | 'topSessionChange', callback: (session: AVSessionDescriptor) => void): void;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: avSession;
Method or attribute name: function off(type: 'sessionCreate' | 'sessionDestroy' | 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: AVSession;
Method or attribute name: on(type: 'play' | 'pause' | 'stop' | 'playNext' | 'playPrevious' | 'fastForward' | 'rewind', callback: () => void): void;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: AVSession;
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: AVSessionController;
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: AVSession;
Method or attribute name: off(type: 'play' | 'pause' | 'stop' | 'playNext' | 'playPrevious' | 'fastForward' | 'rewind', callback?: () => void): void;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: AVSession;
Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: AVSessionController;
Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: OutputDeviceInfo;
Method or attribute name: isRemote: boolean;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: OutputDeviceInfo;
Method or attribute name: audioDeviceId: Array<number>;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: OutputDeviceInfo;
Method or attribute name: deviceName: Array<string>;
NA @ohos.multimedia.avsession.d.ts
Deleted Class name: CameraErrorCode;
Method or attribute name: CONFILICT_CAMERA = 7400107
NA @ohos.multimedia.camera.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: assetId: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: title?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: artist?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: duration?: number;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: subtitle?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: description?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: getAVPlaybackState(): Promise<AVPlaybackState>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: effectKit;
Method or attribute name: function createColorPicker(source: image.PixelMap, region: Array<number>): Promise<ColorPicker>;
@ohos.effectKit.d.ts
Added NA Class name: effectKit;
Method or attribute name: function createColorPicker(source: image.PixelMap, region: Array<number>, callback: AsyncCallback<ColorPicker>): void;
@ohos.effectKit.d.ts
Added NA Class name: ColorPicker;
Method or attribute name: getLargestProportionColor(): Color;
@ohos.effectKit.d.ts
Added NA Class name: ColorPicker;
Method or attribute name: getHighestSaturationColor(): Color;
@ohos.effectKit.d.ts
Added NA Class name: ColorPicker;
Method or attribute name: getAverageColor(): Color;
@ohos.effectKit.d.ts
Added NA Class name: ColorPicker;
Method or attribute name: isBlackOrWhiteOrGrayColor(color: number): boolean;
@ohos.effectKit.d.ts
Added NA Class name: audio;
Method or attribute name: type AudioEffectInfoArray = Array<Readonly<AudioEffectMode>>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeType;
Method or attribute name: ALARM = 4
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeType;
Method or attribute name: ACCESSIBILITY = 5
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeType;
Method or attribute name: ULTRASONIC = 10
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_MUSIC = 1
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_ALARM = 4
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_VOICE_MESSAGE = 5
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_RINGTONE = 6
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_NOTIFICATION = 7
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_ACCESSIBILITY = 8
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_SYSTEM = 9
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_MOVIE = 10
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_GAME = 11
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_AUDIOBOOK = 12
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_NAVIGATION = 13
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_DTMF = 14
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_ENFORCED_TONE = 15
@ohos.multimedia.audio.d.ts
Added NA Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_ULTRASONIC = 16
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRendererOptions;
Method or attribute name: privacyType?: AudioPrivacyType;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioPrivacyType;
Method or attribute name: PRIVACY_TYPE_PUBLIC = 0
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioPrivacyType;
Method or attribute name: PRIVACY_TYPE_PRIVATE = 1
@ohos.multimedia.audio.d.ts
Added NA Class name: VolumeAdjustType;
Method or attribute name: VOLUME_UP = 0
@ohos.multimedia.audio.d.ts
Added NA Class name: VolumeAdjustType;
Method or attribute name: VOLUME_DOWN = 1
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioManager;
Method or attribute name: getAudioSceneSync(): AudioScene;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: getDevicesSync(deviceFlag: DeviceFlag): AudioDeviceDescriptors;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: on(type: 'preferOutputDeviceChangeForRendererInfo', rendererInfo: AudioRendererInfo, callback: Callback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: on(type: 'preferredInputDeviceChangeForCapturerInfo', capturerInfo: AudioCapturerInfo, callback: Callback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: off(type: 'preferOutputDeviceChangeForRendererInfo', callback?: Callback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: off(type: 'preferredInputDeviceChangeForCapturerInfo', callback?: Callback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: isCommunicationDeviceActiveSync(deviceType: CommunicationDeviceType): boolean;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: getPreferOutputDeviceForRendererInfo(rendererInfo: AudioRendererInfo, callback: AsyncCallback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: getPreferOutputDeviceForRendererInfo(rendererInfo: AudioRendererInfo): Promise<AudioDeviceDescriptors>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: getPreferredOutputDeviceForRendererInfoSync(rendererInfo: AudioRendererInfo): AudioDeviceDescriptors;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: getPreferredInputDeviceForCapturerInfo(capturerInfo: AudioCapturerInfo, callback: AsyncCallback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: getPreferredInputDeviceForCapturerInfo(capturerInfo: AudioCapturerInfo): Promise<AudioDeviceDescriptors>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager;
Method or attribute name: getPreferredInputDeviceForCapturerInfoSync(capturerInfo: AudioCapturerInfo): AudioDeviceDescriptors;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioStreamManager;
Method or attribute name: getCurrentAudioRendererInfoArraySync(): AudioRendererChangeInfoArray;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioStreamManager;
Method or attribute name: getCurrentAudioCapturerInfoArraySync(): AudioCapturerChangeInfoArray;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioStreamManager;
Method or attribute name: getAudioEffectInfoArray(usage: StreamUsage, callback: AsyncCallback<AudioEffectInfoArray>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioStreamManager;
Method or attribute name: getAudioEffectInfoArray(usage: StreamUsage): Promise<AudioEffectInfoArray>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioStreamManager;
Method or attribute name: getAudioEffectInfoArraySync(usage: StreamUsage): AudioEffectInfoArray;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioStreamManager;
Method or attribute name: isActiveSync(volumeType: AudioVolumeType): boolean;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeManager;
Method or attribute name: getVolumeGroupInfosSync(networkId: string): VolumeGroupInfos;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeManager;
Method or attribute name: getVolumeGroupManagerSync(groupId: number): AudioVolumeGroupManager;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: getVolumeSync(volumeType: AudioVolumeType): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: getMinVolumeSync(volumeType: AudioVolumeType): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: getMaxVolumeSync(volumeType: AudioVolumeType): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: isMuteSync(volumeType: AudioVolumeType): boolean;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: getRingerModeSync(): AudioRingMode;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: isMicrophoneMuteSync(): boolean;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: isVolumeUnadjustable(): boolean;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: adjustVolumeByStep(adjustType: VolumeAdjustType, callback: AsyncCallback<void>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: adjustVolumeByStep(adjustType: VolumeAdjustType): Promise<void>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType, callback: AsyncCallback<void>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType): Promise<void>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType, callback: AsyncCallback<number>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType): Promise<number>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioVolumeGroupManager;
Method or attribute name: getSystemVolumeInDbSync(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioDeviceDescriptor;
Method or attribute name: readonly displayName: string;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getRendererInfoSync(): AudioRendererInfo;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getStreamInfoSync(): AudioStreamInfo;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioCapturer;
Method or attribute name: getStreamInfoSync(): AudioStreamInfo;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getAudioStreamIdSync(): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioCapturer;
Method or attribute name: getAudioStreamIdSync(): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getAudioEffectMode(callback: AsyncCallback<AudioEffectMode>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getAudioEffectMode(): Promise<AudioEffectMode>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: setAudioEffectMode(mode: AudioEffectMode, callback: AsyncCallback<void>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: setAudioEffectMode(mode: AudioEffectMode): Promise<void>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getAudioTimeSync(): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioCapturer;
Method or attribute name: getAudioTimeSync(): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getBufferSizeSync(): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioCapturer;
Method or attribute name: getBufferSizeSync(): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getRenderRateSync(): AudioRendererRate;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: setInterruptModeSync(mode: InterruptMode): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getMinStreamVolume(callback: AsyncCallback<number>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getMinStreamVolume(): Promise<number>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getMinStreamVolumeSync(): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getMaxStreamVolume(callback: AsyncCallback<number>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getMaxStreamVolume(): Promise<number>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getMaxStreamVolumeSync(): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getUnderflowCount(callback: AsyncCallback<number>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getUnderflowCount(): Promise<number>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getUnderflowCountSync(): number;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getCurrentOutputDevices(callback: AsyncCallback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getCurrentOutputDevices(): Promise<AudioDeviceDescriptors>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: getCurrentOutputDevicesSync(): AudioDeviceDescriptors;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: on(type: 'outputDeviceChange', callback: Callback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRenderer;
Method or attribute name: off(type: 'outputDeviceChange', callback?: Callback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: SourceType;
Method or attribute name: SOURCE_TYPE_PLAYBACK_CAPTURE = 2
@ohos.multimedia.audio.d.ts
Added NA Class name: SourceType;
Method or attribute name: SOURCE_TYPE_WAKEUP = 3
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioCapturerOptions;
Method or attribute name: playbackCaptureConfig?: AudioPlaybackCaptureConfig;
@ohos.multimedia.audio.d.ts
Added NA Class name: CaptureFilterOptions;
Method or attribute name: usages: Array<StreamUsage>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioPlaybackCaptureConfig;
Method or attribute name: filterOptions: CaptureFilterOptions;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioCapturer;
Method or attribute name: getCapturerInfoSync(): AudioCapturerInfo;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioCapturer;
Method or attribute name: on(type: 'audioInterrupt', callback: Callback<InterruptEvent>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioCapturer;
Method or attribute name: off(type: 'audioInterrupt'): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioEffectMode;
Method or attribute name: EFFECT_NONE = 0
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioEffectMode;
Method or attribute name: EFFECT_DEFAULT = 1
@ohos.multimedia.audio.d.ts
Added NA Class name: avSession;
Method or attribute name: function getHistoricalSessionDescriptors(maxSize: number, callback: AsyncCallback<Array<Readonly<AVSessionDescriptor>>>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function getHistoricalSessionDescriptors(maxSize?: number): Promise<Array<Readonly<AVSessionDescriptor>>>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function on(type: 'sessionCreate', callback: (session: AVSessionDescriptor) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function on(type: 'sessionDestroy', callback: (session: AVSessionDescriptor) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function on(type: 'topSessionChange', callback: (session: AVSessionDescriptor) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function on(type: 'deviceAvailable', callback: (device: OutputDeviceInfo) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function off(type: 'sessionCreate', callback?: (session: AVSessionDescriptor) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function off(type: 'sessionDestroy', callback?: (session: AVSessionDescriptor) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function off(type: 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function off(type: 'deviceAvailable', callback?: (device: OutputDeviceInfo) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function startCastDeviceDiscovery(callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function startCastDeviceDiscovery(filter: number, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function startCastDeviceDiscovery(filter?: number): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function stopCastDeviceDiscovery(callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function stopCastDeviceDiscovery(): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function setDiscoverable(enable: boolean, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function setDiscoverable(enable: boolean): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function getAVCastController(sessionId: string, callback: AsyncCallback<AVCastController>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function getAVCastController(sessionId: string): Promise<AVCastController>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function startCasting(session: SessionToken, device: OutputDeviceInfo, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function startCasting(session: SessionToken, device: OutputDeviceInfo): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function stopCasting(session: SessionToken, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: function stopCasting(session: SessionToken): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession;
Method or attribute name: type AVCastControlCommandType = 'play' | 'pause' | 'stop' | 'playNext' | 'playPrevious' | 'fastForward' | 'rewind' |
'seek' | 'setVolume' | 'setSpeed' | 'setLoopMode' | 'toggleFavorite';
@ohos.multimedia.avsession.d.ts
Added NA Class name: ProtocolType;
Method or attribute name: TYPE_LOCAL = 0
@ohos.multimedia.avsession.d.ts
Added NA Class name: ProtocolType;
Method or attribute name: TYPE_CAST_PLUS_MIRROR = 1
@ohos.multimedia.avsession.d.ts
Added NA Class name: ProtocolType;
Method or attribute name: TYPE_CAST_PLUS_STREAM = 2
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: readonly sessionType: AVSessionType;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: dispatchSessionEvent(event: string, args: {[key: string]: Object}, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: dispatchSessionEvent(event: string, args: {[key: string]: Object}): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: setAVQueueItems(items: Array<AVQueueItem>, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: setAVQueueItems(items: Array<AVQueueItem>): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: setAVQueueTitle(title: string, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: setAVQueueTitle(title: string): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: getAVCastController(callback: AsyncCallback<AVCastController>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: getAVCastController(): Promise<AVCastController>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: getOutputDeviceSync(): OutputDeviceInfo;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getOutputDeviceSync(): OutputDeviceInfo;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: on(type: 'play', callback: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: on(type: 'pause', callback: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: on(type: 'stop', callback: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: on(type: 'playNext', callback: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: on(type: 'playPrevious', callback: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: on(type: 'fastForward', callback: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: on(type: 'rewind', callback: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: on(type: 'commonCommand', callback: (command: string, args: {[key: string]: Object}) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: on(type: 'skipToQueueItem', callback: (itemId: number) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: off(type: 'play', callback?: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: off(type: 'pause', callback?: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: off(type: 'stop', callback?: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: off(type: 'playNext', callback?: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: off(type: 'playPrevious', callback?: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: off(type: 'fastForward', callback?: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: off(type: 'rewind', callback?: () => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: off(type: 'commonCommand', callback?: (command: string, args: {[key: string]: Object}) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: off(type: 'skipToQueueItem', callback?: (itemId: number) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: stopCasting(callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession;
Method or attribute name: stopCasting(): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastControlCommand;
Method or attribute name: command: AVCastControlCommandType;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastControlCommand;
Method or attribute name: parameter?: media.PlaybackSpeed | number | string | LoopMode;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: setDisplaySurface(surfaceId: string, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: setDisplaySurface(surfaceId: string): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: sendControlCommand(command: AVCastControlCommand, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: sendControlCommand(command: AVCastControlCommand): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: start(item: AVQueueItem, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: start(item: AVQueueItem): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: prepare(item: AVQueueItem, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: prepare(item: AVQueueItem): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: getCurrentItem(callback: AsyncCallback<AVQueueItem>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: getCurrentItem(): Promise<AVQueueItem>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> | 'all', callback: (state: AVPlaybackState) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: on(type: 'mediaItemChange', callback: Callback<AVQueueItem>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: on(type: 'playNext', callback: Callback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: on(type: 'playPrevious', callback: Callback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: on(type: 'seekDone', callback: Callback<number>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: off(type: 'mediaItemChange'): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: off(type: 'playNext'): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: off(type: 'playPrevious'): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: off(type: 'seekDone'): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: off(type: 'videoSizeChange'): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastController;
Method or attribute name: off(type: 'error'): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: ConnectionState;
Method or attribute name: STATE_CONNECTING = 0
@ohos.multimedia.avsession.d.ts
Added NA Class name: ConnectionState;
Method or attribute name: STATE_CONNECTED = 1
@ohos.multimedia.avsession.d.ts
Added NA Class name: ConnectionState;
Method or attribute name: STATE_DISCONNECTED = 6
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: mediaImage?: image.PixelMap | string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: extras?: {[key: string]: Object};
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVPlaybackState;
Method or attribute name: extras?: {[key: string]: Object};
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: mediaType?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: mediaSize?: number;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: albumTitle?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: albumCoverUri?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: lyricContent?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: lyricUri?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: mediaUri?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: fdSrc?: media.AVFileDescriptor;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: startPosition?: number;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: creditsPosition?: number;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVMediaDescription;
Method or attribute name: appName?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVQueueItem;
Method or attribute name: itemId: number;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVQueueItem;
Method or attribute name: description?: AVMediaDescription;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVPlaybackState;
Method or attribute name: activeItemId?: number;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVPlaybackState;
Method or attribute name: volume?: number;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastCategory;
Method or attribute name: CATEGORY_LOCAL = 0
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVCastCategory;
Method or attribute name: CATEGORY_REMOTE = 1
@ohos.multimedia.avsession.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_TYPE_LOCAL = 0
@ohos.multimedia.avsession.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_TYPE_TV = 2
@ohos.multimedia.avsession.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_TYPE_SMART_SPEAKER = 3
@ohos.multimedia.avsession.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_TYPE_BLUETOOTH = 10
@ohos.multimedia.avsession.d.ts
Added NA Class name: DeviceInfo;
Method or attribute name: castCategory: AVCastCategory;
@ohos.multimedia.avsession.d.ts
Added NA Class name: DeviceInfo;
Method or attribute name: deviceId: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: DeviceInfo;
Method or attribute name: deviceName: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: DeviceInfo;
Method or attribute name: deviceType: DeviceType;
@ohos.multimedia.avsession.d.ts
Added NA Class name: DeviceInfo;
Method or attribute name: ipAddress?: string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: DeviceInfo;
Method or attribute name: providerId?: number;
@ohos.multimedia.avsession.d.ts
Added NA Class name: OutputDeviceInfo;
Method or attribute name: devices: Array<DeviceInfo>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: PlaybackState;
Method or attribute name: PLAYBACK_STATE_COMPLETED = 7
@ohos.multimedia.avsession.d.ts
Added NA Class name: PlaybackState;
Method or attribute name: PLAYBACK_STATE_RELEASED = 8
@ohos.multimedia.avsession.d.ts
Added NA Class name: PlaybackState;
Method or attribute name: PLAYBACK_STATE_ERROR = 9
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getAVPlaybackStateSync(): AVPlaybackState;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getAVMetadataSync(): AVMetadata;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getAVQueueTitle(callback: AsyncCallback<string>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getAVQueueTitle(): Promise<string>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getAVQueueTitleSync(): string;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getAVQueueItems(callback: AsyncCallback<Array<AVQueueItem>>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getAVQueueItems(): Promise<Array<AVQueueItem>>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getAVQueueItemsSync(): Array<AVQueueItem>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: skipToQueueItem(itemId: number, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: skipToQueueItem(itemId: number): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: isActiveSync(): boolean;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getValidCommandsSync(): Array<AVControlCommandType>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: sendCommonCommand(command: string, args: {[key: string]: Object}, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: sendCommonCommand(command: string, args: {[key: string]: Object}): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getExtras(callback: AsyncCallback<{[key: string]: Object}>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: getExtras(): Promise<{[key: string]: Object}>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: on(type: 'sessionEvent', callback: (sessionEvent: string, args: {[key: string]: Object}) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: on(type: 'queueItemsChange', callback: (items: Array<AVQueueItem>) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: on(type: 'queueTitleChange', callback: (title: string) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: on(type: 'extrasChange', callback: (extras: {[key: string]: Object}) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {[key: string]: Object}) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: off(type: 'queueItemsChange', callback?: (items: Array<AVQueueItem>) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: off(type: 'queueTitleChange', callback?: (title: string) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController;
Method or attribute name: off(type: 'extrasChange', callback?: (extras: {[key: string]: Object}) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionErrorCode;
Method or attribute name: ERR_CODE_DEVICE_CONNECTION_FAILED = 6600108
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionErrorCode;
Method or attribute name: ERR_CODE_REMOTE_CONNECTION_NOT_EXIST = 6600109
@ohos.multimedia.avsession.d.ts
Added NA Class name: camera;
Method or attribute name: function getModeManager(context: Context): ModeManager;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode;
Method or attribute name: CONFLICT_CAMERA = 7400107
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode;
Method or attribute name: DEVICE_PREEMPTED = 7400109
@ohos.multimedia.camera.d.ts
Added NA Class name: PrelaunchConfig;
Method or attribute name: cameraDevice: CameraDevice;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager;
Method or attribute name: off(type: 'cameraStatus', callback?: AsyncCallback<CameraStatusInfo>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager;
Method or attribute name: off(type: 'cameraMute', callback?: AsyncCallback<boolean>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager;
Method or attribute name: isPrelaunchSupported(camera: CameraDevice): boolean;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager;
Method or attribute name: setPrelaunchConfig(prelaunchConfig: PrelaunchConfig): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager;
Method or attribute name: prelaunch(): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager;
Method or attribute name: createDeferredPreviewOutput(profile: Profile): PreviewOutput;
@ohos.multimedia.camera.d.ts
Added NA Class name: HostDeviceType;
Method or attribute name: UNKNOWN_TYPE = 0
@ohos.multimedia.camera.d.ts
Added NA Class name: HostDeviceType;
Method or attribute name: PHONE = 0x0E
@ohos.multimedia.camera.d.ts
Added NA Class name: HostDeviceType;
Method or attribute name: TABLET = 0x11
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraDevice;
Method or attribute name: readonly hostDeviceName: string;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraDevice;
Method or attribute name: readonly hostDeviceType: HostDeviceType;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraInput;
Method or attribute name: off(type: 'error', camera: CameraDevice, callback?: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: FilterType;
Method or attribute name: NONE = 0
@ohos.multimedia.camera.d.ts
Added NA Class name: FilterType;
Method or attribute name: CLASSIC = 1
@ohos.multimedia.camera.d.ts
Added NA Class name: FilterType;
Method or attribute name: DAWN = 2
@ohos.multimedia.camera.d.ts
Added NA Class name: FilterType;
Method or attribute name: PURE = 3
@ohos.multimedia.camera.d.ts
Added NA Class name: FilterType;
Method or attribute name: GREY = 4
@ohos.multimedia.camera.d.ts
Added NA Class name: FilterType;
Method or attribute name: NATURAL = 5
@ohos.multimedia.camera.d.ts
Added NA Class name: FilterType;
Method or attribute name: MORI = 6
@ohos.multimedia.camera.d.ts
Added NA Class name: FilterType;
Method or attribute name: FAIR = 7
@ohos.multimedia.camera.d.ts
Added NA Class name: FilterType;
Method or attribute name: PINK = 8
@ohos.multimedia.camera.d.ts
Added NA Class name: BeautyType;
Method or attribute name: AUTO = 0
@ohos.multimedia.camera.d.ts
Added NA Class name: BeautyType;
Method or attribute name: SKIN_SMOOTH = 1
@ohos.multimedia.camera.d.ts
Added NA Class name: BeautyType;
Method or attribute name: FACE_SLENDER = 2
@ohos.multimedia.camera.d.ts
Added NA Class name: BeautyType;
Method or attribute name: SKIN_TONE = 3
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession;
Method or attribute name: off(type: 'focusStateChange', callback?: AsyncCallback<FocusState>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PreviewOutput;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PhotoOutput;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: VideoOutput;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: MetadataOutput;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession;
Method or attribute name: getSupportedFilters(): Array<number>;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession;
Method or attribute name: getFilter(): number;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession;
Method or attribute name: setFilter(filter: number): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession;
Method or attribute name: getSupportedBeautyTypes(): Array<BeautyType>;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession;
Method or attribute name: getSupportedBeautyRange(type: BeautyType): Array<number>;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession;
Method or attribute name: getBeauty(type: BeautyType): number;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession;
Method or attribute name: setBeauty(type: BeautyType, value: number): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraMode;
Method or attribute name: PORTRAIT = 1
@ohos.multimedia.camera.d.ts
Added NA Class name: ModeManager;
Method or attribute name: getSupportedModes(device: CameraDevice): Array<CameraMode>;
@ohos.multimedia.camera.d.ts
Added NA Class name: ModeManager;
Method or attribute name: getSupportedOutputCapability(device: CameraDevice, mode: CameraMode): CameraOutputCapability;
@ohos.multimedia.camera.d.ts
Added NA Class name: ModeManager;
Method or attribute name: createCaptureSession(mode: CameraMode): CaptureSession;
@ohos.multimedia.camera.d.ts
Added NA Class name: PortraitEffect;
Method or attribute name: OFF = 0
@ohos.multimedia.camera.d.ts
Added NA Class name: PortraitEffect;
Method or attribute name: CIRCLES = 1
@ohos.multimedia.camera.d.ts
Added NA Class name: PortraitSession;
Method or attribute name: getSupportedPortraitEffects(): Array<PortraitEffect>;
@ohos.multimedia.camera.d.ts
Added NA Class name: PortraitSession;
Method or attribute name: getPortraitEffect(): PortraitEffect;
@ohos.multimedia.camera.d.ts
Added NA Class name: PortraitSession;
Method or attribute name: setPortraitEffect(effect: PortraitEffect): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PreviewOutput;
Method or attribute name: off(type: 'frameStart', callback?: AsyncCallback<void>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: VideoOutput;
Method or attribute name: off(type: 'frameStart', callback?: AsyncCallback<void>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PreviewOutput;
Method or attribute name: off(type: 'frameEnd', callback?: AsyncCallback<void>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: VideoOutput;
Method or attribute name: off(type: 'frameEnd', callback?: AsyncCallback<void>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PreviewOutput;
Method or attribute name: addDeferredSurface(surfaceId: string): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PhotoOutput;
Method or attribute name: on(type: 'quickThumbnail', callback: AsyncCallback<image.PixelMap>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PhotoOutput;
Method or attribute name: off(type: 'captureStart', callback?: AsyncCallback<number>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PhotoOutput;
Method or attribute name: off(type: 'frameShutter', callback?: AsyncCallback<FrameShutterInfo>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PhotoOutput;
Method or attribute name: off(type: 'captureEnd', callback?: AsyncCallback<CaptureEndInfo>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PhotoOutput;
Method or attribute name: off(type: 'quickThumbnail', callback?: AsyncCallback<image.PixelMap>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PhotoOutput;
Method or attribute name: isQuickThumbnailSupported(): boolean;
@ohos.multimedia.camera.d.ts
Added NA Class name: PhotoOutput;
Method or attribute name: enableQuickThumbnail(enabled: boolean): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: MetadataOutput;
Method or attribute name: off(type: 'metadataObjectsAvailable', callback?: AsyncCallback<Array<MetadataObject>>): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: DATE_TIME = 'DateTime'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: GPS_TIME_STAMP = 'GPSTimeStamp'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: GPS_DATE_STAMP = 'GPSDateStamp'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: IMAGE_DESCRIPTION = 'ImageDescription'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: MAKE = 'Make'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: MODEL = 'Model'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: PHOTO_MODE = 'PhotoMode'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: SENSITIVITY_TYPE = 'SensitivityType'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: STANDARD_OUTPUT_SENSITIVITY = 'StandardOutputSensitivity'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: RECOMMENDED_EXPOSURE_INDEX = 'RecommendedExposureIndex'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: ISO_SPEED = 'ISOSpeedRatings'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: APERTURE_VALUE = 'ApertureValue'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: EXPOSURE_BIAS_VALUE = 'ExposureBiasValue'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: METERING_MODE = 'MeteringMode'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: LIGHT_SOURCE = 'LightSource'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: FLASH = 'Flash'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: FOCAL_LENGTH = 'FocalLength'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: USER_COMMENT = 'UserComment'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: PIXEL_X_DIMENSION = 'PixelXDimension'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: PIXEL_Y_DIMENSION = 'PixelYDimension'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: WHITE_BALANCE = 'WhiteBalance'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: FOCAL_LENGTH_IN_35_MM_FILM = 'FocalLengthIn35mmFilm'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: CAPTURE_MODE = 'HwMnoteCaptureMode'
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey;
Method or attribute name: PHYSICAL_APERTURE = 'HwMnotePhysicalAperture'
@ohos.multimedia.image.d.ts
Added NA Class name: PixelMap;
Method or attribute name: getColorSpace(): colorSpaceManager.ColorSpaceManager;
@ohos.multimedia.image.d.ts
Added NA Class name: PixelMap;
Method or attribute name: marshalling(sequence: rpc.MessageSequence): void;
@ohos.multimedia.image.d.ts
Added NA Class name: PixelMap;
Method or attribute name: unmarshalling(sequence: rpc.MessageSequence): Promise<PixelMap>;
@ohos.multimedia.image.d.ts
Added NA Class name: PixelMap;
Method or attribute name: setColorSpace(colorSpace: colorSpaceManager.ColorSpaceManager): void;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource;
Method or attribute name: createPixelMapList(options?: DecodingOptions): Promise<Array<PixelMap>>;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource;
Method or attribute name: createPixelMapList(callback: AsyncCallback<Array<PixelMap>>): void;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource;
Method or attribute name: createPixelMapList(options: DecodingOptions, callback: AsyncCallback<Array<PixelMap>>): void;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource;
Method or attribute name: getDelayTimeList(): Promise<Array<number>>;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource;
Method or attribute name: getDelayTimeList(callback: AsyncCallback<Array<number>>): void;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource;
Method or attribute name: getFrameCount(): Promise<number>;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource;
Method or attribute name: getFrameCount(callback: AsyncCallback<number>): void;
@ohos.multimedia.image.d.ts
Added NA Class name: media;
Method or attribute name: function createSoundPool(
maxStreams: number,
audioRenderInfo: audio.AudioRendererInfo,
callback: AsyncCallback<SoundPool>
): void;
@ohos.multimedia.media.d.ts
Added NA Class name: media;
Method or attribute name: function createSoundPool(maxStreams: number, audioRenderInfo: audio.AudioRendererInfo): Promise<SoundPool>;
@ohos.multimedia.media.d.ts
Added NA Class name: media;
Method or attribute name: type SoundPool = _SoundPool;
@ohos.multimedia.media.d.ts
Added NA Class name: media;
Method or attribute name: type PlayParameters = _PlayParameters;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer;
Method or attribute name: dataSrc?: AVDataSrcDescriptor;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer;
Method or attribute name: audioRendererInfo?: audio.AudioRendererInfo;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer;
Method or attribute name: audioEffectMode ?: audio.AudioEffectMode;
@ohos.multimedia.media.d.ts
Added NA Class name: AVDataSrcDescriptor;
Method or attribute name: fileSize: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVDataSrcDescriptor;
Method or attribute name: callback: (buffer: ArrayBuffer, length: number, pos?: number) => number;
@ohos.multimedia.media.d.ts
Added NA Class name: systemSoundManager;
Method or attribute name: function getSystemSoundManager(): SystemSoundManager;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: systemSoundManager;
Method or attribute name: type RingtonePlayer = _RingtonePlayer;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: systemSoundManager;
Method or attribute name: type RingtoneOptions = _RingtoneOptions;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: RingtoneType;
Method or attribute name: RINGTONE_TYPE_DEFAULT = 0
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: RingtoneType;
Method or attribute name: RINGTONE_TYPE_MULTISIM = 1
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: SystemSoundManager;
Method or attribute name: setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType, callback: AsyncCallback<void>): void;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: SystemSoundManager;
Method or attribute name: setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType): Promise<void>;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: SystemSoundManager;
Method or attribute name: getSystemRingtoneUri(context: Context, type: RingtoneType, callback: AsyncCallback<string>): void;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: SystemSoundManager;
Method or attribute name: getSystemRingtoneUri(context: Context, type: RingtoneType): Promise<string>;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: SystemSoundManager;
Method or attribute name: getSystemRingtonePlayer(context: Context, type: RingtoneType, callback: AsyncCallback<RingtonePlayer>): void;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: SystemSoundManager;
Method or attribute name: getSystemRingtonePlayer(context: Context, type: RingtoneType): Promise<RingtonePlayer>;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Class name: RingtoneOptions;
Method or attribute name: volume: number;
ringtonePlayer.d.ts
Added NA Class name: RingtoneOptions;
Method or attribute name: loop: boolean;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: readonly state: media.AVPlayerState;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: getTitle(callback: AsyncCallback<string>): void;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: getTitle(): Promise<string>;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: getAudioRendererInfo(callback: AsyncCallback<audio.AudioRendererInfo>): void;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: getAudioRendererInfo(): Promise<audio.AudioRendererInfo>;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: configure(options: RingtoneOptions, callback: AsyncCallback<void>): void;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: configure(options: RingtoneOptions): Promise<void>;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: start(callback: AsyncCallback<void>): void;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: start(): Promise<void>;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: stop(callback: AsyncCallback<void>): void;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: stop(): Promise<void>;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: release(callback: AsyncCallback<void>): void;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: release(): Promise<void>;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: on(type: 'audioInterrupt', callback: Callback<audio.InterruptEvent>): void;
ringtonePlayer.d.ts
Added NA Class name: RingtonePlayer;
Method or attribute name: off(type: 'audioInterrupt'): void
ringtonePlayer.d.ts
Added NA Class name: PlayParameters;
Method or attribute name: loop?: number;
soundPool.d.ts
Added NA Class name: PlayParameters;
Method or attribute name: rate?: number;
soundPool.d.ts
Added NA Class name: PlayParameters;
Method or attribute name: leftVolume?: number;
soundPool.d.ts
Added NA Class name: PlayParameters;
Method or attribute name: rightVolume?: number;
soundPool.d.ts
Added NA Class name: PlayParameters;
Method or attribute name: priority?: number;
soundPool.d.ts
Added NA Class name: PlayParameters;
Method or attribute name: parallelPlayFlag?: boolean;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: load(uri: string, callback: AsyncCallback<number>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: load(uri: string): Promise<number>;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: load(fd: number, offset: number, length: number, callback: AsyncCallback<number>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: load(fd: number, offset: number, length: number): Promise<number>;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: play(soundID: number, params: PlayParameters, callback: AsyncCallback<number>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: play(soundID: number, callback: AsyncCallback<number>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: play(soundID: number, params?: PlayParameters): Promise<number>;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: stop(streamID: number, callback: AsyncCallback<void>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: stop(streamID: number): Promise<void>;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: setLoop(streamID: number, loop: number, callback: AsyncCallback<void>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: setLoop(streamID: number, loop: number): Promise<void>;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: setPriority(streamID: number, priority: number, callback: AsyncCallback<void>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: setPriority(streamID: number, priority: number): Promise<void>;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: setRate(streamID: number, rate: audio.AudioRendererRate, callback: AsyncCallback<void>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: setRate(streamID: number, rate: audio.AudioRendererRate): Promise<void>;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: setVolume(streamID: number, leftVolume: number, rightVolume: number, callback: AsyncCallback<void>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: setVolume(streamID: number, leftVolume: number, rightVolume: number): Promise<void>;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: unload(soundID: number, callback: AsyncCallback<void>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: unload(soundID: number): Promise<void>;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: release(callback: AsyncCallback<void>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: release(): Promise<void>;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: on(type: 'loadComplete', callback: Callback<number>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: on(type: 'playFinished', callback: Callback<void>): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: off(type: 'loadComplete'): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: off(type: 'playFinished'): void;
soundPool.d.ts
Added NA Class name: SoundPool;
Method or attribute name: off(type: 'error'): void;
soundPool.d.ts
Deprecated version changed Class name: ContentType;
Method or attribute name: enum ContentType
Old version information:
Class name: ContentType;
Method or attribute name: enum ContentType
New version information: 10
Substitute API: ohos.multimedia.audio.StreamUsage
@ohos.multimedia.audio.d.ts
Deprecated version changed Class name: ContentType;
Method or attribute name: CONTENT_TYPE_UNKNOWN = 0
Old version information:
Class name: ContentType;
Method or attribute name: CONTENT_TYPE_UNKNOWN = 0
New version information: 10
Substitute API: ohos.multimedia.audio.StreamUsage.STREAM_USAGE_UNKNOWN
@ohos.multimedia.audio.d.ts
Deprecated version changed Class name: ContentType;
Method or attribute name: CONTENT_TYPE_SPEECH = 1
Old version information:
Class name: ContentType;
Method or attribute name: CONTENT_TYPE_SPEECH = 1
New version information: 10
Substitute API: ohos.multimedia.audio.StreamUsage.STREAM_USAGE_VOICE_COMMUNICATION
@ohos.multimedia.audio.d.ts
Deprecated version changed Class name: ContentType;
Method or attribute name: CONTENT_TYPE_MUSIC = 2
Old version information:
Class name: ContentType;
Method or attribute name: CONTENT_TYPE_MUSIC = 2
New version information: 10
Substitute API: ohos.multimedia.audio.StreamUsage.STREAM_USAGE_MUSIC
@ohos.multimedia.audio.d.ts
Deprecated version changed Class name: ContentType;
Method or attribute name: CONTENT_TYPE_MOVIE = 3
Old version information:
Class name: ContentType;
Method or attribute name: CONTENT_TYPE_MOVIE = 3
New version information: 10
Substitute API: ohos.multimedia.audio.StreamUsage.STREAM_USAGE_MOVIE
@ohos.multimedia.audio.d.ts
Deprecated version changed Class name: ContentType;
Method or attribute name: CONTENT_TYPE_SONIFICATION = 4
Old version information:
Class name: ContentType;
Method or attribute name: CONTENT_TYPE_SONIFICATION = 4
New version information: 10
Substitute API: ohos.multimedia.audio.StreamUsage.STREAM_USAGE_NOTIFICATION
@ohos.multimedia.audio.d.ts
Deprecated version changed Class name: ContentType;
Method or attribute name: CONTENT_TYPE_RINGTONE = 5
Old version information:
Class name: ContentType;
Method or attribute name: CONTENT_TYPE_RINGTONE = 5
New version information: 10
Substitute API: ohos.multimedia.audio.StreamUsage.STREAM_USAGE_RINGTONE
@ohos.multimedia.audio.d.ts
Deprecated version changed Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_MEDIA = 1
Old version information:
Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_MEDIA = 1
New version information: 10
Substitute API: ohos.multimedia.audio.StreamUsage.STREAM_USAGE_MUSIC
@ohos.multimedia.audio.d.ts
Deprecated version changed Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_NOTIFICATION_RINGTONE = 6
Old version information:
Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_NOTIFICATION_RINGTONE = 6
New version information: 10
Substitute API: ohos.multimedia.audio.StreamUsage.STREAM_USAGE_RINGTONE
@ohos.multimedia.audio.d.ts
Deprecated version changed Class name: AudioManager;
Method or attribute name: on(type: 'volumeChange', callback: Callback<VolumeEvent>): void;
Old version information:
Class name: AudioManager;
Method or attribute name: on(type: 'volumeChange', callback: Callback<VolumeEvent>): void;
New version information: 9
Substitute API: ohos.multimedia.audio.AudioVolumeManager#event:volumeChange
@ohos.multimedia.audio.d.ts
Error code added Class name: effectKit;
Method or attribute name: function createColorPicker(source: image.PixelMap): Promise<ColorPicker>;
Old version information:
Class name: effectKit;
Method or attribute name: function createColorPicker(source: image.PixelMap): Promise<ColorPicker>;
New version information: 401
@ohos.effectKit.d.ts
Error code added Class name: effectKit;
Method or attribute name: function createColorPicker(source: image.PixelMap, callback: AsyncCallback<ColorPicker>): void;
Old version information:
Class name: effectKit;
Method or attribute name: function createColorPicker(source: image.PixelMap, callback: AsyncCallback<ColorPicker>): void;
New version information: 401
@ohos.effectKit.d.ts
Error code added Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;
Old version information:
Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;
New version information: 401,6600101
@ohos.multimedia.avsession.d.ts
Error code added Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise<Array<Readonly<AVSessionDescriptor>>>;
Old version information:
Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise<Array<Readonly<AVSessionDescriptor>>>;
New version information: 201,6600101
@ohos.multimedia.avsession.d.ts
Error code added Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise<AVSessionController>;
Old version information:
Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise<AVSessionController>;
New version information: 201,401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code added Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken | 'all', audioDevices: Array<audio.AudioDeviceDescriptor>): Promise<void>;
Old version information:
Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken | 'all', audioDevices: Array<audio.AudioDeviceDescriptor>): Promise<void>;
New version information: 201,401,6600101,6600102,6600104
@ohos.multimedia.avsession.d.ts
Error code added Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise<void>;
Old version information:
Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise<void>;
New version information: 201,401,6600101,6600105
@ohos.multimedia.avsession.d.ts
Error code added Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise<void>;
Old version information:
Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise<void>;
New version information: 201,401,6600101,6600105,6600107
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata): Promise<void>;
Old version information:
Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata): Promise<void>;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise<void>;
Old version information:
Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise<void>;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise<void>;
Old version information:
Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise<void>;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSession;
Method or attribute name: getController(): Promise<AVSessionController>;
Old version information:
Class name: AVSession;
Method or attribute name: getController(): Promise<AVSessionController>;
New version information: 6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSession;
Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;
Old version information:
Class name: AVSession;
Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;
New version information: 6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSessionController;
Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;
Old version information:
Class name: AVSessionController;
Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;
New version information: 600101,600103
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSession;
Method or attribute name: activate(): Promise<void>;
Old version information:
Class name: AVSession;
Method or attribute name: activate(): Promise<void>;
New version information: 6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSession;
Method or attribute name: deactivate(): Promise<void>;
Old version information:
Class name: AVSession;
Method or attribute name: deactivate(): Promise<void>;
New version information: 6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSession;
Method or attribute name: destroy(): Promise<void>;
Old version information:
Class name: AVSession;
Method or attribute name: destroy(): Promise<void>;
New version information: 6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSessionController;
Method or attribute name: destroy(): Promise<void>;
Old version information:
Class name: AVSessionController;
Method or attribute name: destroy(): Promise<void>;
New version information: 6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(): Promise<AVPlaybackState>;
Old version information:
Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(): Promise<AVPlaybackState>;
New version information: 6600101,6600102,6600103
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSessionController;
Method or attribute name: getAVMetadata(): Promise<AVMetadata>;
Old version information:
Class name: AVSessionController;
Method or attribute name: getAVMetadata(): Promise<AVMetadata>;
New version information: 6600101,6600102,6600103
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise<void>;
Old version information:
Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise<void>;
New version information: 401,600101,600102,600103,600105,600106
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSessionController;
Method or attribute name: getLaunchAbility(): Promise<WantAgent>;
Old version information:
Class name: AVSessionController;
Method or attribute name: getLaunchAbility(): Promise<WantAgent>;
New version information: 6600101,6600102,6600103
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSessionController;
Method or attribute name: isActive(): Promise<boolean>;
Old version information:
Class name: AVSessionController;
Method or attribute name: isActive(): Promise<boolean>;
New version information: 6600101,6600102,6600103
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSessionController;
Method or attribute name: getValidCommands(): Promise<Array<AVControlCommandType>>;
Old version information:
Class name: AVSessionController;
Method or attribute name: getValidCommands(): Promise<Array<AVControlCommandType>>;
New version information: 6600101,6600102,6600103
@ohos.multimedia.avsession.d.ts
Error code added Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise<void>;
Old version information:
Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise<void>;
New version information: 401,6600101,6600102,6600103,6600105,6600106,6600107
@ohos.multimedia.avsession.d.ts
Error code changed Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;
Old version information: 401,{@link
Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;
New version information: 401,6600101
@ohos.multimedia.avsession.d.ts
Error code changed Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(callback: AsyncCallback<Array<Readonly<AVSessionDescriptor>>>): void;
Old version information: 201,{@link
Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(callback: AsyncCallback<Array<Readonly<AVSessionDescriptor>>>): void;
New version information: 201,6600101
@ohos.multimedia.avsession.d.ts
Error code changed Class name: avSession;
Method or attribute name: function createController(sessionId: string, callback: AsyncCallback<AVSessionController>): void;
Old version information: 201,401,{@link,{@link
Class name: avSession;
Method or attribute name: function createController(sessionId: string, callback: AsyncCallback<AVSessionController>): void;
New version information: 201,401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken | 'all', audioDevices: Array<audio.AudioDeviceDescriptor>, callback: AsyncCallback<void>): void;
Old version information: 201,401,{@link,{@link,{@link
Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken | 'all', audioDevices: Array<audio.AudioDeviceDescriptor>, callback: AsyncCallback<void>): void;
New version information: 201,401,6600101,6600102,6600104
@ohos.multimedia.avsession.d.ts
Error code changed Class name: avSession;
Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;
Old version information: 201,401,{@link
Class name: avSession;
Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;
New version information: 201,401,6600101
@ohos.multimedia.avsession.d.ts
Error code changed Class name: avSession;
Method or attribute name: function off(type: 'sessionServiceDie', callback?: () => void): void;
Old version information: 201,401,{@link
Class name: avSession;
Method or attribute name: function off(type: 'sessionServiceDie', callback?: () => void): void;
New version information: 201,401,6600101
@ohos.multimedia.avsession.d.ts
Error code changed Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;
Old version information: 201,401,{@link,{@link
Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;
New version information: 201,401,6600101,6600105
@ohos.multimedia.avsession.d.ts
Error code changed Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;
Old version information: 201,401,{@link,{@link,{@link
Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;
New version information: 201,401,6600101,6600105,6600107
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback<void>): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback<void>): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback<void>): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback<void>): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback<void>): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback<void>): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: getController(callback: AsyncCallback<AVSessionController>): void;
Old version information: {@link,{@link
Class name: AVSession;
Method or attribute name: getController(callback: AsyncCallback<AVSessionController>): void;
New version information: 6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
Old version information: {@link,{@link
Class name: AVSession;
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
New version information: 6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
Old version information: {@link,{@link
Class name: AVSessionController;
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
New version information: 600101,600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: activate(callback: AsyncCallback<void>): void;
Old version information: {@link,{@link
Class name: AVSession;
Method or attribute name: activate(callback: AsyncCallback<void>): void;
New version information: 6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: deactivate(callback: AsyncCallback<void>): void;
Old version information: {@link,{@link
Class name: AVSession;
Method or attribute name: deactivate(callback: AsyncCallback<void>): void;
New version information: 6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
Old version information: {@link,{@link
Class name: AVSession;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
New version information: 6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
Old version information: {@link,{@link
Class name: AVSessionController;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
New version information: 6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;
Old version information: {@link,{@link,{@link
Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;
New version information: 6600101,6600102,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: getAVMetadata(callback: AsyncCallback<AVMetadata>): void;
Old version information: {@link,{@link,{@link
Class name: AVSessionController;
Method or attribute name: getAVMetadata(callback: AsyncCallback<AVMetadata>): void;
New version information: 6600101,6600102,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;
Old version information: 401,{@link,{@link,{@link,{@link,{@link
Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;
New version information: 401,600101,600102,600103,600105,600106
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: getLaunchAbility(callback: AsyncCallback<WantAgent>): void;
Old version information: {@link,{@link,{@link
Class name: AVSessionController;
Method or attribute name: getLaunchAbility(callback: AsyncCallback<WantAgent>): void;
New version information: 6600101,6600102,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: getRealPlaybackPositionSync(): number;
Old version information: {@link,{@link
Class name: AVSessionController;
Method or attribute name: getRealPlaybackPositionSync(): number;
New version information: 6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: isActive(callback: AsyncCallback<boolean>): void;
Old version information: {@link,{@link,{@link
Class name: AVSessionController;
Method or attribute name: isActive(callback: AsyncCallback<boolean>): void;
New version information: 6600101,6600102,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: getValidCommands(callback: AsyncCallback<Array<AVControlCommandType>>): void;
Old version information: {@link,{@link,{@link
Class name: AVSessionController;
Method or attribute name: getValidCommands(callback: AsyncCallback<Array<AVControlCommandType>>): void;
New version information: 6600101,6600102,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;
Old version information: 401,{@link,{@link,{@link,{@link,{@link,{@link
Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;
New version information: 401,6600101,6600102,6600103,6600105,6600106,6600107
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: on(type: 'metadataChange', filter: Array<keyof AVMetadata> | 'all', callback: (data: AVMetadata) => void);
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: on(type: 'metadataChange', filter: Array<keyof AVMetadata> | 'all', callback: (data: AVMetadata) => void);
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> | 'all', callback: (state: AVPlaybackState) => void);
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> | 'all', callback: (state: AVPlaybackState) => void);
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: on(type: 'sessionDestroy', callback: () => void);
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: on(type: 'sessionDestroy', callback: () => void);
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void);
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void);
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array<AVControlCommandType>) => void);
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array<AVControlCommandType>) => void);
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Access level changed Class name: ConnectType;
Method or attribute name: CONNECT_TYPE_LOCAL = 1
Old version information:
Class name: ConnectType;
Method or attribute name: CONNECT_TYPE_LOCAL = 1
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ConnectType;
Method or attribute name: CONNECT_TYPE_DISTRIBUTED = 2
Old version information:
Class name: ConnectType;
Method or attribute name: CONNECT_TYPE_DISTRIBUTED = 2
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeGroupInfo;
Method or attribute name: readonly groupId: number;
Old version information:
Class name: VolumeGroupInfo;
Method or attribute name: readonly groupId: number;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeGroupInfo;
Method or attribute name: readonly mappingId: number;
Old version information:
Class name: VolumeGroupInfo;
Method or attribute name: readonly mappingId: number;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeGroupInfo;
Method or attribute name: readonly groupName: string;
Old version information:
Class name: VolumeGroupInfo;
Method or attribute name: readonly groupName: string;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeGroupInfo;
Method or attribute name: readonly type: ConnectType;
Old version information:
Class name: VolumeGroupInfo;
Method or attribute name: readonly type: ConnectType;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_0 = 0
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_0 = 0
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_1 = 1
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_1 = 1
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_2 = 2
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_2 = 2
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_3 = 3
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_3 = 3
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_4 = 4
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_4 = 4
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_5 = 5
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_5 = 5
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_6 = 6
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_6 = 6
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_7 = 7
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_7 = 7
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_8 = 8
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_8 = 8
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_9 = 9
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_9 = 9
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_S = 10
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_S = 10
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_P = 11
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_P = 11
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_A = 12
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_A = 12
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_B = 13
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_B = 13
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_C = 14
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_C = 14
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_D = 15
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_D = 15
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_DIAL = 100
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_DIAL = 100
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_BUSY = 101
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_BUSY = 101
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_CONGESTION = 102
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_CONGESTION = 102
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK = 103
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK = 103
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE = 104
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE = 104
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING = 106
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING = 106
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RINGTONE = 107
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RINGTONE = 107
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_BEEP = 200
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_BEEP = 200
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_ACK = 201
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_ACK = 201
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_PROMPT = 203
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_PROMPT = 203
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP = 204
Old version information:
Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP = 204
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: TonePlayer;
Method or attribute name: load(type: ToneType, callback: AsyncCallback<void>): void;
Old version information:
Class name: TonePlayer;
Method or attribute name: load(type: ToneType, callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: TonePlayer;
Method or attribute name: load(type: ToneType): Promise<void>;
Old version information:
Class name: TonePlayer;
Method or attribute name: load(type: ToneType): Promise<void>;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: TonePlayer;
Method or attribute name: start(callback: AsyncCallback<void>): void;
Old version information:
Class name: TonePlayer;
Method or attribute name: start(callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: TonePlayer;
Method or attribute name: start(): Promise<void>;
Old version information:
Class name: TonePlayer;
Method or attribute name: start(): Promise<void>;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: TonePlayer;
Method or attribute name: stop(callback: AsyncCallback<void>): void;
Old version information:
Class name: TonePlayer;
Method or attribute name: stop(callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: TonePlayer;
Method or attribute name: stop(): Promise<void>;
Old version information:
Class name: TonePlayer;
Method or attribute name: stop(): Promise<void>;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: TonePlayer;
Method or attribute name: release(callback: AsyncCallback<void>): void;
Old version information:
Class name: TonePlayer;
Method or attribute name: release(callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: TonePlayer;
Method or attribute name: release(): Promise<void>;
Old version information:
Class name: TonePlayer;
Method or attribute name: release(): Promise<void>;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;
Old version information: systemapi
Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise<Array<Readonly<AVSessionDescriptor>>>;
Old version information:
Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise<Array<Readonly<AVSessionDescriptor>>>;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise<AVSessionController>;
Old version information:
Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise<AVSessionController>;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken | 'all', audioDevices: Array<audio.AudioDeviceDescriptor>): Promise<void>;
Old version information:
Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken | 'all', audioDevices: Array<audio.AudioDeviceDescriptor>): Promise<void>;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise<void>;
Old version information:
Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise<void>;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise<void>;
Old version information:
Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise<void>;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession;
Method or attribute name: type AVSessionType = 'audio' | 'video';
Old version information: systemapi
Class name: avSession;
Method or attribute name: type AVSessionType = 'audio' | 'video';
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession;
Method or attribute name: type AVControlCommandType = 'play' | 'pause' | 'stop' | 'playNext' | 'playPrevious' | 'fastForward' | 'rewind' |
'seek' | 'setSpeed' | 'setLoopMode' | 'toggleFavorite';
Old version information: systemapi
Class name: avSession;
Method or attribute name: type AVControlCommandType = 'play' | 'pause' | 'stop' | 'playNext' | 'playPrevious' | 'fastForward' | 'rewind' |
'seek' | 'setSpeed' | 'setLoopMode' | 'toggleFavorite';
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: SessionToken;
Method or attribute name: sessionId: string;
Old version information:
Class name: SessionToken;
Method or attribute name: sessionId: string;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionDescriptor;
Method or attribute name: sessionId: string;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: sessionId: string;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: SessionToken;
Method or attribute name: pid?: number;
Old version information:
Class name: SessionToken;
Method or attribute name: pid?: number;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: SessionToken;
Method or attribute name: uid?: number;
Old version information:
Class name: SessionToken;
Method or attribute name: uid?: number;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: interface AVSession
Old version information: systemapi
Class name: AVSession;
Method or attribute name: interface AVSession
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: readonly sessionId: string;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: readonly sessionId: string;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: readonly sessionId: string;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: readonly sessionId: string;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback<void>): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback<void>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback<void>): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback<void>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback<void>): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback<void>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: getController(callback: AsyncCallback<AVSessionController>): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: getController(callback: AsyncCallback<AVSessionController>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: activate(callback: AsyncCallback<void>): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: activate(callback: AsyncCallback<void>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: deactivate(callback: AsyncCallback<void>): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: deactivate(callback: AsyncCallback<void>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
Old version information: systemapi
Class name: AVSession;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata;
Method or attribute name: interface AVMetadata
Old version information: systemapi
Class name: AVMetadata;
Method or attribute name: interface AVMetadata
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVPlaybackState;
Method or attribute name: interface AVPlaybackState
Old version information: systemapi
Class name: AVPlaybackState;
Method or attribute name: interface AVPlaybackState
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackPosition;
Method or attribute name: interface PlaybackPosition
Old version information: systemapi
Class name: PlaybackPosition;
Method or attribute name: interface PlaybackPosition
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: OutputDeviceInfo;
Method or attribute name: interface OutputDeviceInfo
Old version information: systemapi
Class name: OutputDeviceInfo;
Method or attribute name: interface OutputDeviceInfo
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: LoopMode;
Method or attribute name: enum LoopMode
Old version information: systemapi
Class name: LoopMode;
Method or attribute name: enum LoopMode
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState;
Method or attribute name: enum PlaybackState
Old version information: systemapi
Class name: PlaybackState;
Method or attribute name: enum PlaybackState
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionDescriptor;
Method or attribute name: type: AVSessionType;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: type: AVSessionType;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionDescriptor;
Method or attribute name: sessionTag: string;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: sessionTag: string;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionDescriptor;
Method or attribute name: elementName: ElementName;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: elementName: ElementName;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionDescriptor;
Method or attribute name: isActive: boolean;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: isActive: boolean;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionDescriptor;
Method or attribute name: isTopSession: boolean;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: isTopSession: boolean;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionDescriptor;
Method or attribute name: outputDevice: OutputDeviceInfo;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: outputDevice: OutputDeviceInfo;
New version information: systemapi
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: interface AVSessionController
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: interface AVSessionController
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: getAVMetadata(callback: AsyncCallback<AVMetadata>): void;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: getAVMetadata(callback: AsyncCallback<AVMetadata>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: getLaunchAbility(callback: AsyncCallback<WantAgent>): void;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: getLaunchAbility(callback: AsyncCallback<WantAgent>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: getRealPlaybackPositionSync(): number;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: getRealPlaybackPositionSync(): number;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: isActive(callback: AsyncCallback<boolean>): void;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: isActive(callback: AsyncCallback<boolean>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: getValidCommands(callback: AsyncCallback<Array<AVControlCommandType>>): void;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: getValidCommands(callback: AsyncCallback<Array<AVControlCommandType>>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: on(type: 'metadataChange', filter: Array<keyof AVMetadata> | 'all', callback: (data: AVMetadata) => void);
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: on(type: 'metadataChange', filter: Array<keyof AVMetadata> | 'all', callback: (data: AVMetadata) => void);
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> | 'all', callback: (state: AVPlaybackState) => void);
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> | 'all', callback: (state: AVPlaybackState) => void);
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: on(type: 'sessionDestroy', callback: () => void);
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: on(type: 'sessionDestroy', callback: () => void);
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void);
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void);
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController;
Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array<AVControlCommandType>) => void);
Old version information: systemapi
Class name: AVSessionController;
Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array<AVControlCommandType>) => void);
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommand;
Method or attribute name: interface AVControlCommand
Old version information: systemapi
Class name: AVControlCommand;
Method or attribute name: interface AVControlCommand
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode;
Method or attribute name: enum AVSessionErrorCode
Old version information: systemapi
Class name: AVSessionErrorCode;
Method or attribute name: enum AVSessionErrorCode
New version information:
@ohos.multimedia.avsession.d.ts
Access level changed Class name: camera;
Method or attribute name: declare camera
Old version information: systemapi
Class name: camera;
Method or attribute name: declare camera
New version information:
@ohos.multimedia.camera.d.ts
Permission changed Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise<Array<Readonly<AVSessionDescriptor>>>;
Old version information:
Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise<Array<Readonly<AVSessionDescriptor>>>;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
Permission changed Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise<AVSessionController>;
Old version information:
Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise<AVSessionController>;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
Permission changed Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken | 'all', audioDevices: Array<audio.AudioDeviceDescriptor>): Promise<void>;
Old version information:
Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken | 'all', audioDevices: Array<audio.AudioDeviceDescriptor>): Promise<void>;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
Permission changed Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise<void>;
Old version information:
Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise<void>;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
Permission changed Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise<void>;
Old version information:
Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise<void>;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
Permission changed Class name: SessionToken;
Method or attribute name: sessionId: string;
Old version information:
Class name: SessionToken;
Method or attribute name: sessionId: string;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
Permission changed Class name: SessionToken;
Method or attribute name: pid?: number;
Old version information:
Class name: SessionToken;
Method or attribute name: pid?: number;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
Permission changed Class name: SessionToken;
Method or attribute name: uid?: number;
Old version information:
Class name: SessionToken;
Method or attribute name: uid?: number;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES
@ohos.multimedia.avsession.d.ts
Type changed Class name: AudioRendererInfo;
Method or attribute name: content?: ContentType;
Old version information:
Class name: AudioRendererInfo;
Method or attribute name: content?: ContentType;
New version information: ?ContentType
@ohos.multimedia.audio.d.ts
Type changed Class name: SessionToken;
Method or attribute name: sessionId: string;
Old version information:
Class name: SessionToken;
Method or attribute name: sessionId: string;
New version information: string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVSessionDescriptor;
Method or attribute name: sessionId: string;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: sessionId: string;
New version information: string
@ohos.multimedia.avsession.d.ts
Type changed Class name: SessionToken;
Method or attribute name: pid?: number;
Old version information:
Class name: SessionToken;
Method or attribute name: pid?: number;
New version information: ?number
@ohos.multimedia.avsession.d.ts
Type changed Class name: SessionToken;
Method or attribute name: uid?: number;
Old version information:
Class name: SessionToken;
Method or attribute name: uid?: number;
New version information: ?number
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: assetId: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: assetId: string;
New version information: string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: title?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: title?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: artist?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: artist?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: author?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: author?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: album?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: album?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: writer?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: writer?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: composer?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: composer?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: duration?: number;
Old version information:
Class name: AVMetadata;
Method or attribute name: duration?: number;
New version information: ?number
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: publishDate?: Date;
Old version information:
Class name: AVMetadata;
Method or attribute name: publishDate?: Date;
New version information: ?Date
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: subtitle?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: subtitle?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: description?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: description?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: lyric?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: lyric?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: previousAssetId?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: previousAssetId?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMetadata;
Method or attribute name: nextAssetId?: string;
Old version information:
Class name: AVMetadata;
Method or attribute name: nextAssetId?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVPlaybackState;
Method or attribute name: speed?: number;
Old version information:
Class name: AVPlaybackState;
Method or attribute name: speed?: number;
New version information: ?number
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVPlaybackState;
Method or attribute name: bufferedTime?: number;
Old version information:
Class name: AVPlaybackState;
Method or attribute name: bufferedTime?: number;
New version information: ?number
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVPlaybackState;
Method or attribute name: isFavorite?: boolean;
Old version information:
Class name: AVPlaybackState;
Method or attribute name: isFavorite?: boolean;
New version information: ?boolean
@ohos.multimedia.avsession.d.ts
Type changed Class name: PlaybackPosition;
Method or attribute name: elapsedTime: number;
Old version information:
Class name: PlaybackPosition;
Method or attribute name: elapsedTime: number;
New version information: number
@ohos.multimedia.avsession.d.ts
Type changed Class name: PlaybackPosition;
Method or attribute name: updateTime: number;
Old version information:
Class name: PlaybackPosition;
Method or attribute name: updateTime: number;
New version information: number
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVSessionDescriptor;
Method or attribute name: sessionTag: string;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: sessionTag: string;
New version information: string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVSessionDescriptor;
Method or attribute name: isActive: boolean;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: isActive: boolean;
New version information: boolean
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVSessionDescriptor;
Method or attribute name: isTopSession: boolean;
Old version information:
Class name: AVSessionDescriptor;
Method or attribute name: isTopSession: boolean;
New version information: boolean
@ohos.multimedia.avsession.d.ts
Type changed Class name: Profile;
Method or attribute name: readonly format: CameraFormat;
Old version information:
Class name: Profile;
Method or attribute name: readonly format: CameraFormat;
New version information: CameraFormat
@ohos.multimedia.camera.d.ts
Type changed Class name: Profile;
Method or attribute name: readonly size: Size;
Old version information:
Class name: Profile;
Method or attribute name: readonly size: Size;
New version information: Size
@ohos.multimedia.camera.d.ts
Type changed Class name: FrameRateRange;
Method or attribute name: readonly min: number;
Old version information:
Class name: FrameRateRange;
Method or attribute name: readonly min: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: FrameRateRange;
Method or attribute name: readonly max: number;
Old version information:
Class name: FrameRateRange;
Method or attribute name: readonly max: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: VideoProfile;
Method or attribute name: readonly frameRateRange: FrameRateRange;
Old version information:
Class name: VideoProfile;
Method or attribute name: readonly frameRateRange: FrameRateRange;
New version information: FrameRateRange
@ohos.multimedia.camera.d.ts
Type changed Class name: CameraOutputCapability;
Method or attribute name: readonly previewProfiles: Array<Profile>;
Old version information:
Class name: CameraOutputCapability;
Method or attribute name: readonly previewProfiles: Array<Profile>;
New version information: Array<Profile>
@ohos.multimedia.camera.d.ts
Type changed Class name: CameraOutputCapability;
Method or attribute name: readonly photoProfiles: Array<Profile>;
Old version information:
Class name: CameraOutputCapability;
Method or attribute name: readonly photoProfiles: Array<Profile>;
New version information: Array<Profile>
@ohos.multimedia.camera.d.ts
Type changed Class name: CameraOutputCapability;
Method or attribute name: readonly videoProfiles: Array<VideoProfile>;
Old version information:
Class name: CameraOutputCapability;
Method or attribute name: readonly videoProfiles: Array<VideoProfile>;
New version information: Array<VideoProfile>
@ohos.multimedia.camera.d.ts
Type changed Class name: CameraOutputCapability;
Method or attribute name: readonly supportedMetadataObjectTypes: Array<MetadataObjectType>;
Old version information:
Class name: CameraOutputCapability;
Method or attribute name: readonly supportedMetadataObjectTypes: Array<MetadataObjectType>;
New version information: Array<MetadataObjectType>
@ohos.multimedia.camera.d.ts
Type changed Class name: CameraStatusInfo;
Method or attribute name: camera: CameraDevice;
Old version information:
Class name: CameraStatusInfo;
Method or attribute name: camera: CameraDevice;
New version information: CameraDevice
@ohos.multimedia.camera.d.ts
Type changed Class name: CameraStatusInfo;
Method or attribute name: status: CameraStatus;
Old version information:
Class name: CameraStatusInfo;
Method or attribute name: status: CameraStatus;
New version information: CameraStatus
@ohos.multimedia.camera.d.ts
Type changed Class name: CameraDevice;
Method or attribute name: readonly cameraId: string;
Old version information:
Class name: CameraDevice;
Method or attribute name: readonly cameraId: string;
New version information: string
@ohos.multimedia.camera.d.ts
Type changed Class name: CameraDevice;
Method or attribute name: readonly cameraPosition: CameraPosition;
Old version information:
Class name: CameraDevice;
Method or attribute name: readonly cameraPosition: CameraPosition;
New version information: CameraPosition
@ohos.multimedia.camera.d.ts
Type changed Class name: CameraDevice;
Method or attribute name: readonly cameraType: CameraType;
Old version information:
Class name: CameraDevice;
Method or attribute name: readonly cameraType: CameraType;
New version information: CameraType
@ohos.multimedia.camera.d.ts
Type changed Class name: CameraDevice;
Method or attribute name: readonly connectionType: ConnectionType;
Old version information:
Class name: CameraDevice;
Method or attribute name: readonly connectionType: ConnectionType;
New version information: ConnectionType
@ohos.multimedia.camera.d.ts
Type changed Class name: Size;
Method or attribute name: height: number;
Old version information:
Class name: Size;
Method or attribute name: height: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: Rect;
Method or attribute name: height: number;
Old version information:
Class name: Rect;
Method or attribute name: height: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: Size;
Method or attribute name: width: number;
Old version information:
Class name: Size;
Method or attribute name: width: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: Rect;
Method or attribute name: width: number;
Old version information:
Class name: Rect;
Method or attribute name: width: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: Point;
Method or attribute name: x: number;
Old version information:
Class name: Point;
Method or attribute name: x: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: Point;
Method or attribute name: y: number;
Old version information:
Class name: Point;
Method or attribute name: y: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: Location;
Method or attribute name: latitude: number;
Old version information:
Class name: Location;
Method or attribute name: latitude: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: Location;
Method or attribute name: longitude: number;
Old version information:
Class name: Location;
Method or attribute name: longitude: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: Location;
Method or attribute name: altitude: number;
Old version information:
Class name: Location;
Method or attribute name: altitude: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: PhotoCaptureSetting;
Method or attribute name: quality?: QualityLevel;
Old version information:
Class name: PhotoCaptureSetting;
Method or attribute name: quality?: QualityLevel;
New version information: ?QualityLevel
@ohos.multimedia.camera.d.ts
Type changed Class name: PhotoCaptureSetting;
Method or attribute name: rotation?: ImageRotation;
Old version information:
Class name: PhotoCaptureSetting;
Method or attribute name: rotation?: ImageRotation;
New version information: ?ImageRotation
@ohos.multimedia.camera.d.ts
Type changed Class name: PhotoCaptureSetting;
Method or attribute name: location?: Location;
Old version information:
Class name: PhotoCaptureSetting;
Method or attribute name: location?: Location;
New version information: ?Location
@ohos.multimedia.camera.d.ts
Type changed Class name: PhotoCaptureSetting;
Method or attribute name: mirror?: boolean;
Old version information:
Class name: PhotoCaptureSetting;
Method or attribute name: mirror?: boolean;
New version information: ?boolean
@ohos.multimedia.camera.d.ts
Type changed Class name: FrameShutterInfo;
Method or attribute name: captureId: number;
Old version information:
Class name: FrameShutterInfo;
Method or attribute name: captureId: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: CaptureEndInfo;
Method or attribute name: captureId: number;
Old version information:
Class name: CaptureEndInfo;
Method or attribute name: captureId: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: FrameShutterInfo;
Method or attribute name: timestamp: number;
Old version information:
Class name: FrameShutterInfo;
Method or attribute name: timestamp: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: CaptureEndInfo;
Method or attribute name: frameCount: number;
Old version information:
Class name: CaptureEndInfo;
Method or attribute name: frameCount: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: Rect;
Method or attribute name: topLeftX: number;
Old version information:
Class name: Rect;
Method or attribute name: topLeftX: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: Rect;
Method or attribute name: topLeftY: number;
Old version information:
Class name: Rect;
Method or attribute name: topLeftY: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: MetadataObject;
Method or attribute name: readonly type: MetadataObjectType;
Old version information:
Class name: MetadataObject;
Method or attribute name: readonly type: MetadataObjectType;
New version information: MetadataObjectType
@ohos.multimedia.camera.d.ts
Type changed Class name: MetadataObject;
Method or attribute name: readonly timestamp: number;
Old version information:
Class name: MetadataObject;
Method or attribute name: readonly timestamp: number;
New version information: number
@ohos.multimedia.camera.d.ts
Type changed Class name: MetadataObject;
Method or attribute name: readonly boundingBox: Rect;
Old version information:
Class name: MetadataObject;
Method or attribute name: readonly boundingBox: Rect;
New version information: Rect
@ohos.multimedia.camera.d.ts
Type changed Class name: Size;
Method or attribute name: height: number;
Old version information:
Class name: Size;
Method or attribute name: height: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: Size;
Method or attribute name: width: number;
Old version information:
Class name: Size;
Method or attribute name: width: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: Region;
Method or attribute name: size: Size;
Old version information:
Class name: Region;
Method or attribute name: size: Size;
New version information: Size
@ohos.multimedia.image.d.ts
Type changed Class name: ImageInfo;
Method or attribute name: size: Size;
Old version information:
Class name: ImageInfo;
Method or attribute name: size: Size;
New version information: Size
@ohos.multimedia.image.d.ts
Type changed Class name: InitializationOptions;
Method or attribute name: size: Size;
Old version information:
Class name: InitializationOptions;
Method or attribute name: size: Size;
New version information: Size
@ohos.multimedia.image.d.ts
Type changed Class name: Region;
Method or attribute name: x: number;
Old version information:
Class name: Region;
Method or attribute name: x: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: Region;
Method or attribute name: y: number;
Old version information:
Class name: Region;
Method or attribute name: y: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: PositionArea;
Method or attribute name: pixels: ArrayBuffer;
Old version information:
Class name: PositionArea;
Method or attribute name: pixels: ArrayBuffer;
New version information: ArrayBuffer
@ohos.multimedia.image.d.ts
Type changed Class name: PositionArea;
Method or attribute name: offset: number;
Old version information:
Class name: PositionArea;
Method or attribute name: offset: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: PositionArea;
Method or attribute name: stride: number;
Old version information:
Class name: PositionArea;
Method or attribute name: stride: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: PositionArea;
Method or attribute name: region: Region;
Old version information:
Class name: PositionArea;
Method or attribute name: region: Region;
New version information: Region
@ohos.multimedia.image.d.ts
Type changed Class name: ImageInfo;
Method or attribute name: density: number;
Old version information:
Class name: ImageInfo;
Method or attribute name: density: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: PackingOption;
Method or attribute name: format: string;
Old version information:
Class name: PackingOption;
Method or attribute name: format: string;
New version information: string
@ohos.multimedia.image.d.ts
Type changed Class name: PackingOption;
Method or attribute name: quality: number;
Old version information:
Class name: PackingOption;
Method or attribute name: quality: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: PackingOption;
Method or attribute name: bufferSize?: number;
Old version information:
Class name: PackingOption;
Method or attribute name: bufferSize?: number;
New version information: ?number
@ohos.multimedia.image.d.ts
Type changed Class name: GetImagePropertyOptions;
Method or attribute name: index?: number;
Old version information:
Class name: GetImagePropertyOptions;
Method or attribute name: index?: number;
New version information: ?number
@ohos.multimedia.image.d.ts
Type changed Class name: DecodingOptions;
Method or attribute name: index?: number;
Old version information:
Class name: DecodingOptions;
Method or attribute name: index?: number;
New version information: ?number
@ohos.multimedia.image.d.ts
Type changed Class name: GetImagePropertyOptions;
Method or attribute name: defaultValue?: string;
Old version information:
Class name: GetImagePropertyOptions;
Method or attribute name: defaultValue?: string;
New version information: ?string
@ohos.multimedia.image.d.ts
Type changed Class name: DecodingOptions;
Method or attribute name: sampleSize?: number;
Old version information:
Class name: DecodingOptions;
Method or attribute name: sampleSize?: number;
New version information: ?number
@ohos.multimedia.image.d.ts
Type changed Class name: DecodingOptions;
Method or attribute name: rotate?: number;
Old version information:
Class name: DecodingOptions;
Method or attribute name: rotate?: number;
New version information: ?number
@ohos.multimedia.image.d.ts
Type changed Class name: DecodingOptions;
Method or attribute name: editable?: boolean;
Old version information:
Class name: DecodingOptions;
Method or attribute name: editable?: boolean;
New version information: ?boolean
@ohos.multimedia.image.d.ts
Type changed Class name: InitializationOptions;
Method or attribute name: editable?: boolean;
Old version information:
Class name: InitializationOptions;
Method or attribute name: editable?: boolean;
New version information: ?boolean
@ohos.multimedia.image.d.ts
Type changed Class name: DecodingOptions;
Method or attribute name: desiredSize?: Size;
Old version information:
Class name: DecodingOptions;
Method or attribute name: desiredSize?: Size;
New version information: ?Size
@ohos.multimedia.image.d.ts
Type changed Class name: DecodingOptions;
Method or attribute name: desiredRegion?: Region;
Old version information:
Class name: DecodingOptions;
Method or attribute name: desiredRegion?: Region;
New version information: ?Region
@ohos.multimedia.image.d.ts
Type changed Class name: DecodingOptions;
Method or attribute name: desiredPixelFormat?: PixelMapFormat;
Old version information:
Class name: DecodingOptions;
Method or attribute name: desiredPixelFormat?: PixelMapFormat;
New version information: ?PixelMapFormat
@ohos.multimedia.image.d.ts
Type changed Class name: DecodingOptions;
Method or attribute name: fitDensity?: number;
Old version information:
Class name: DecodingOptions;
Method or attribute name: fitDensity?: number;
New version information: ?number
@ohos.multimedia.image.d.ts
Type changed Class name: Component;
Method or attribute name: readonly componentType: ComponentType;
Old version information:
Class name: Component;
Method or attribute name: readonly componentType: ComponentType;
New version information: ComponentType
@ohos.multimedia.image.d.ts
Type changed Class name: Component;
Method or attribute name: readonly rowStride: number;
Old version information:
Class name: Component;
Method or attribute name: readonly rowStride: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: Component;
Method or attribute name: readonly pixelStride: number;
Old version information:
Class name: Component;
Method or attribute name: readonly pixelStride: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: Component;
Method or attribute name: readonly byteBuffer: ArrayBuffer;
Old version information:
Class name: Component;
Method or attribute name: readonly byteBuffer: ArrayBuffer;
New version information: ArrayBuffer
@ohos.multimedia.image.d.ts
Type changed Class name: InitializationOptions;
Method or attribute name: pixelFormat?: PixelMapFormat;
Old version information:
Class name: InitializationOptions;
Method or attribute name: pixelFormat?: PixelMapFormat;
New version information: ?PixelMapFormat
@ohos.multimedia.image.d.ts
Type changed Class name: InitializationOptions;
Method or attribute name: alphaType?: AlphaType;
Old version information:
Class name: InitializationOptions;
Method or attribute name: alphaType?: AlphaType;
New version information: ?AlphaType
@ohos.multimedia.image.d.ts
Type changed Class name: InitializationOptions;
Method or attribute name: scaleMode?: ScaleMode;
Old version information:
Class name: InitializationOptions;
Method or attribute name: scaleMode?: ScaleMode;
New version information: ?ScaleMode
@ohos.multimedia.image.d.ts
Type changed Class name: SourceOptions;
Method or attribute name: sourceDensity: number;
Old version information:
Class name: SourceOptions;
Method or attribute name: sourceDensity: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: SourceOptions;
Method or attribute name: sourcePixelFormat?: PixelMapFormat;
Old version information:
Class name: SourceOptions;
Method or attribute name: sourcePixelFormat?: PixelMapFormat;
New version information: ?PixelMapFormat
@ohos.multimedia.image.d.ts
Type changed Class name: SourceOptions;
Method or attribute name: sourceSize?: Size;
Old version information:
Class name: SourceOptions;
Method or attribute name: sourceSize?: Size;
New version information: ?Size
@ohos.multimedia.image.d.ts
Type changed Class name: PixelMap;
Method or attribute name: readonly isEditable: boolean;
Old version information:
Class name: PixelMap;
Method or attribute name: readonly isEditable: boolean;
New version information: boolean
@ohos.multimedia.image.d.ts
Type changed Class name: ImageSource;
Method or attribute name: readonly supportedFormats: Array<string>;
Old version information:
Class name: ImageSource;
Method or attribute name: readonly supportedFormats: Array<string>;
New version information: Array<string>
@ohos.multimedia.image.d.ts
Type changed Class name: ImagePacker;
Method or attribute name: readonly supportedFormats: Array<string>;
Old version information:
Class name: ImagePacker;
Method or attribute name: readonly supportedFormats: Array<string>;
New version information: Array<string>
@ohos.multimedia.image.d.ts
Type changed Class name: Image;
Method or attribute name: clipRect: Region;
Old version information:
Class name: Image;
Method or attribute name: clipRect: Region;
New version information: Region
@ohos.multimedia.image.d.ts
Type changed Class name: Image;
Method or attribute name: readonly size: Size;
Old version information:
Class name: Image;
Method or attribute name: readonly size: Size;
New version information: Size
@ohos.multimedia.image.d.ts
Type changed Class name: ImageReceiver;
Method or attribute name: readonly size: Size;
Old version information:
Class name: ImageReceiver;
Method or attribute name: readonly size: Size;
New version information: Size
@ohos.multimedia.image.d.ts
Type changed Class name: Image;
Method or attribute name: readonly format: number;
Old version information:
Class name: Image;
Method or attribute name: readonly format: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: ImageReceiver;
Method or attribute name: readonly capacity: number;
Old version information:
Class name: ImageReceiver;
Method or attribute name: readonly capacity: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: ImageCreator;
Method or attribute name: readonly capacity: number;
Old version information:
Class name: ImageCreator;
Method or attribute name: readonly capacity: number;
New version information: number
@ohos.multimedia.image.d.ts
Type changed Class name: ImageReceiver;
Method or attribute name: readonly format: ImageFormat;
Old version information:
Class name: ImageReceiver;
Method or attribute name: readonly format: ImageFormat;
New version information: ImageFormat
@ohos.multimedia.image.d.ts
Type changed Class name: ImageCreator;
Method or attribute name: readonly format: ImageFormat;
Old version information:
Class name: ImageCreator;
Method or attribute name: readonly format: ImageFormat;
New version information: ImageFormat
@ohos.multimedia.image.d.ts
Function changed Class name: AudioRendererInfo;
Method or attribute name: content: ContentType;
Class name: AudioRendererInfo;
Method or attribute name: content?: ContentType;
@ohos.multimedia.audio.d.ts
Function changed Class name: AudioRendererFilter;
Method or attribute name: uid: number;
Class name: AudioRendererFilter;
Method or attribute name: uid?: number;
@ohos.multimedia.audio.d.ts
Function changed Class name: SessionToken;
Method or attribute name: pid: number;
Class name: SessionToken;
Method or attribute name: pid?: number;
@ohos.multimedia.avsession.d.ts
Function changed Class name: SessionToken;
Method or attribute name: uid: number;
Class name: SessionToken;
Method or attribute name: uid?: number;
@ohos.multimedia.avsession.d.ts
Function changed Class name: CameraInput;
Method or attribute name: on(type: 'error', camera: CameraDevice, callback: ErrorCallback<BusinessError>): void;
Class name: CameraInput;
Method or attribute name: on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Function changed Class name: CaptureSession;
Method or attribute name: on(type: 'error', callback: ErrorCallback<BusinessError>): void;
Class name: CaptureSession;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Function changed Class name: PreviewOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback<BusinessError>): void;
Class name: PreviewOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Function changed Class name: PhotoOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback<BusinessError>): void;
Class name: PhotoOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Function changed Class name: VideoOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback<BusinessError>): void;
Class name: VideoOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Function changed Class name: MetadataOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback<BusinessError>): void;
Class name: MetadataOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function createPixelMap(colors: ArrayBuffer, options: InitializationOptions, callback: AsyncCallback<PixelMap>): void;
Old version information:
Class name: image;
Method or attribute name: function createPixelMap(colors: ArrayBuffer, options: InitializationOptions, callback: AsyncCallback<PixelMap>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function createPixelMap(colors: ArrayBuffer, options: InitializationOptions): Promise<PixelMap>;
Old version information:
Class name: image;
Method or attribute name: function createPixelMap(colors: ArrayBuffer, options: InitializationOptions): Promise<PixelMap>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function createImageSource(uri: string): ImageSource;
Old version information:
Class name: image;
Method or attribute name: function createImageSource(uri: string): ImageSource;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function createImageSource(uri: string, options: SourceOptions): ImageSource;
Old version information:
Class name: image;
Method or attribute name: function createImageSource(uri: string, options: SourceOptions): ImageSource;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function createImageSource(fd: number): ImageSource;
Old version information:
Class name: image;
Method or attribute name: function createImageSource(fd: number): ImageSource;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function createImageSource(fd: number, options: SourceOptions): ImageSource;
Old version information:
Class name: image;
Method or attribute name: function createImageSource(fd: number, options: SourceOptions): ImageSource;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function createImageSource(buf: ArrayBuffer): ImageSource;
Old version information:
Class name: image;
Method or attribute name: function createImageSource(buf: ArrayBuffer): ImageSource;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function createImageSource(buf: ArrayBuffer, options: SourceOptions): ImageSource;
Old version information:
Class name: image;
Method or attribute name: function createImageSource(buf: ArrayBuffer, options: SourceOptions): ImageSource;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function CreateIncrementalSource(buf: ArrayBuffer): ImageSource;
Old version information:
Class name: image;
Method or attribute name: function CreateIncrementalSource(buf: ArrayBuffer): ImageSource;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function CreateIncrementalSource(buf: ArrayBuffer, options?: SourceOptions): ImageSource;
Old version information:
Class name: image;
Method or attribute name: function CreateIncrementalSource(buf: ArrayBuffer, options?: SourceOptions): ImageSource;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: image;
Method or attribute name: function createImagePacker(): ImagePacker;
Old version information:
Class name: image;
Method or attribute name: function createImagePacker(): ImagePacker;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMapFormat;
Method or attribute name: enum PixelMapFormat
Old version information:
Class name: PixelMapFormat;
Method or attribute name: enum PixelMapFormat
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMapFormat;
Method or attribute name: UNKNOWN = 0
Old version information:
Class name: PixelMapFormat;
Method or attribute name: UNKNOWN = 0
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: AlphaType;
Method or attribute name: UNKNOWN = 0
Old version information:
Class name: AlphaType;
Method or attribute name: UNKNOWN = 0
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMapFormat;
Method or attribute name: RGB_565 = 2
Old version information:
Class name: PixelMapFormat;
Method or attribute name: RGB_565 = 2
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMapFormat;
Method or attribute name: RGBA_8888 = 3
Old version information:
Class name: PixelMapFormat;
Method or attribute name: RGBA_8888 = 3
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMapFormat;
Method or attribute name: BGRA_8888 = 4
Old version information:
Class name: PixelMapFormat;
Method or attribute name: BGRA_8888 = 4
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMapFormat;
Method or attribute name: RGB_888 = 5
Old version information:
Class name: PixelMapFormat;
Method or attribute name: RGB_888 = 5
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMapFormat;
Method or attribute name: ALPHA_8 = 6
Old version information:
Class name: PixelMapFormat;
Method or attribute name: ALPHA_8 = 6
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMapFormat;
Method or attribute name: RGBA_F16 = 7
Old version information:
Class name: PixelMapFormat;
Method or attribute name: RGBA_F16 = 7
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMapFormat;
Method or attribute name: NV21 = 8
Old version information:
Class name: PixelMapFormat;
Method or attribute name: NV21 = 8
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMapFormat;
Method or attribute name: NV12 = 9
Old version information:
Class name: PixelMapFormat;
Method or attribute name: NV12 = 9
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: Size;
Method or attribute name: interface Size
Old version information:
Class name: Size;
Method or attribute name: interface Size
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: Size;
Method or attribute name: height: number;
Old version information:
Class name: Size;
Method or attribute name: height: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: Size;
Method or attribute name: width: number;
Old version information:
Class name: Size;
Method or attribute name: width: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: enum PropertyKey
Old version information:
Class name: PropertyKey;
Method or attribute name: enum PropertyKey
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: BITS_PER_SAMPLE = 'BitsPerSample'
Old version information:
Class name: PropertyKey;
Method or attribute name: BITS_PER_SAMPLE = 'BitsPerSample'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: ORIENTATION = 'Orientation'
Old version information:
Class name: PropertyKey;
Method or attribute name: ORIENTATION = 'Orientation'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: IMAGE_LENGTH = 'ImageLength'
Old version information:
Class name: PropertyKey;
Method or attribute name: IMAGE_LENGTH = 'ImageLength'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: IMAGE_WIDTH = 'ImageWidth'
Old version information:
Class name: PropertyKey;
Method or attribute name: IMAGE_WIDTH = 'ImageWidth'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: GPS_LATITUDE = 'GPSLatitude'
Old version information:
Class name: PropertyKey;
Method or attribute name: GPS_LATITUDE = 'GPSLatitude'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: GPS_LONGITUDE = 'GPSLongitude'
Old version information:
Class name: PropertyKey;
Method or attribute name: GPS_LONGITUDE = 'GPSLongitude'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: GPS_LATITUDE_REF = 'GPSLatitudeRef'
Old version information:
Class name: PropertyKey;
Method or attribute name: GPS_LATITUDE_REF = 'GPSLatitudeRef'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: GPS_LONGITUDE_REF = 'GPSLongitudeRef'
Old version information:
Class name: PropertyKey;
Method or attribute name: GPS_LONGITUDE_REF = 'GPSLongitudeRef'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: DATE_TIME_ORIGINAL = 'DateTimeOriginal'
Old version information:
Class name: PropertyKey;
Method or attribute name: DATE_TIME_ORIGINAL = 'DateTimeOriginal'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: EXPOSURE_TIME = 'ExposureTime'
Old version information:
Class name: PropertyKey;
Method or attribute name: EXPOSURE_TIME = 'ExposureTime'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: SCENE_TYPE = 'SceneType'
Old version information:
Class name: PropertyKey;
Method or attribute name: SCENE_TYPE = 'SceneType'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: ISO_SPEED_RATINGS = 'ISOSpeedRatings'
Old version information:
Class name: PropertyKey;
Method or attribute name: ISO_SPEED_RATINGS = 'ISOSpeedRatings'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PropertyKey;
Method or attribute name: F_NUMBER = 'FNumber'
Old version information:
Class name: PropertyKey;
Method or attribute name: F_NUMBER = 'FNumber'
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: AlphaType;
Method or attribute name: enum AlphaType
Old version information:
Class name: AlphaType;
Method or attribute name: enum AlphaType
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: AlphaType;
Method or attribute name: OPAQUE = 1
Old version information:
Class name: AlphaType;
Method or attribute name: OPAQUE = 1
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: AlphaType;
Method or attribute name: PREMUL = 2
Old version information:
Class name: AlphaType;
Method or attribute name: PREMUL = 2
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: AlphaType;
Method or attribute name: UNPREMUL = 3
Old version information:
Class name: AlphaType;
Method or attribute name: UNPREMUL = 3
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ScaleMode;
Method or attribute name: enum ScaleMode
Old version information:
Class name: ScaleMode;
Method or attribute name: enum ScaleMode
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ScaleMode;
Method or attribute name: FIT_TARGET_SIZE = 0
Old version information:
Class name: ScaleMode;
Method or attribute name: FIT_TARGET_SIZE = 0
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ScaleMode;
Method or attribute name: CENTER_CROP = 1
Old version information:
Class name: ScaleMode;
Method or attribute name: CENTER_CROP = 1
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: Region;
Method or attribute name: interface Region
Old version information:
Class name: Region;
Method or attribute name: interface Region
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: Region;
Method or attribute name: size: Size;
Old version information:
Class name: Region;
Method or attribute name: size: Size;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageInfo;
Method or attribute name: size: Size;
Old version information:
Class name: ImageInfo;
Method or attribute name: size: Size;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: InitializationOptions;
Method or attribute name: size: Size;
Old version information:
Class name: InitializationOptions;
Method or attribute name: size: Size;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: Region;
Method or attribute name: x: number;
Old version information:
Class name: Region;
Method or attribute name: x: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: Region;
Method or attribute name: y: number;
Old version information:
Class name: Region;
Method or attribute name: y: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PositionArea;
Method or attribute name: interface PositionArea
Old version information:
Class name: PositionArea;
Method or attribute name: interface PositionArea
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PositionArea;
Method or attribute name: pixels: ArrayBuffer;
Old version information:
Class name: PositionArea;
Method or attribute name: pixels: ArrayBuffer;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PositionArea;
Method or attribute name: offset: number;
Old version information:
Class name: PositionArea;
Method or attribute name: offset: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PositionArea;
Method or attribute name: stride: number;
Old version information:
Class name: PositionArea;
Method or attribute name: stride: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PositionArea;
Method or attribute name: region: Region;
Old version information:
Class name: PositionArea;
Method or attribute name: region: Region;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageInfo;
Method or attribute name: interface ImageInfo
Old version information:
Class name: ImageInfo;
Method or attribute name: interface ImageInfo
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageInfo;
Method or attribute name: density: number;
Old version information:
Class name: ImageInfo;
Method or attribute name: density: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PackingOption;
Method or attribute name: interface PackingOption
Old version information:
Class name: PackingOption;
Method or attribute name: interface PackingOption
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PackingOption;
Method or attribute name: format: string;
Old version information:
Class name: PackingOption;
Method or attribute name: format: string;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PackingOption;
Method or attribute name: quality: number;
Old version information:
Class name: PackingOption;
Method or attribute name: quality: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PackingOption;
Method or attribute name: bufferSize?: number;
Old version information:
Class name: PackingOption;
Method or attribute name: bufferSize?: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: GetImagePropertyOptions;
Method or attribute name: interface GetImagePropertyOptions
Old version information:
Class name: GetImagePropertyOptions;
Method or attribute name: interface GetImagePropertyOptions
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: GetImagePropertyOptions;
Method or attribute name: index?: number;
Old version information:
Class name: GetImagePropertyOptions;
Method or attribute name: index?: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: DecodingOptions;
Method or attribute name: index?: number;
Old version information:
Class name: DecodingOptions;
Method or attribute name: index?: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: GetImagePropertyOptions;
Method or attribute name: defaultValue?: string;
Old version information:
Class name: GetImagePropertyOptions;
Method or attribute name: defaultValue?: string;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: DecodingOptions;
Method or attribute name: interface DecodingOptions
Old version information:
Class name: DecodingOptions;
Method or attribute name: interface DecodingOptions
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: DecodingOptions;
Method or attribute name: sampleSize?: number;
Old version information:
Class name: DecodingOptions;
Method or attribute name: sampleSize?: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: DecodingOptions;
Method or attribute name: rotate?: number;
Old version information:
Class name: DecodingOptions;
Method or attribute name: rotate?: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: DecodingOptions;
Method or attribute name: editable?: boolean;
Old version information:
Class name: DecodingOptions;
Method or attribute name: editable?: boolean;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: InitializationOptions;
Method or attribute name: editable?: boolean;
Old version information:
Class name: InitializationOptions;
Method or attribute name: editable?: boolean;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: DecodingOptions;
Method or attribute name: desiredSize?: Size;
Old version information:
Class name: DecodingOptions;
Method or attribute name: desiredSize?: Size;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: DecodingOptions;
Method or attribute name: desiredRegion?: Region;
Old version information:
Class name: DecodingOptions;
Method or attribute name: desiredRegion?: Region;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: DecodingOptions;
Method or attribute name: desiredPixelFormat?: PixelMapFormat;
Old version information:
Class name: DecodingOptions;
Method or attribute name: desiredPixelFormat?: PixelMapFormat;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: DecodingOptions;
Method or attribute name: fitDensity?: number;
Old version information:
Class name: DecodingOptions;
Method or attribute name: fitDensity?: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: InitializationOptions;
Method or attribute name: interface InitializationOptions
Old version information:
Class name: InitializationOptions;
Method or attribute name: interface InitializationOptions
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: InitializationOptions;
Method or attribute name: pixelFormat?: PixelMapFormat;
Old version information:
Class name: InitializationOptions;
Method or attribute name: pixelFormat?: PixelMapFormat;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: InitializationOptions;
Method or attribute name: alphaType?: AlphaType;
Old version information:
Class name: InitializationOptions;
Method or attribute name: alphaType?: AlphaType;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: InitializationOptions;
Method or attribute name: scaleMode?: ScaleMode;
Old version information:
Class name: InitializationOptions;
Method or attribute name: scaleMode?: ScaleMode;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: SourceOptions;
Method or attribute name: interface SourceOptions
Old version information:
Class name: SourceOptions;
Method or attribute name: interface SourceOptions
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: SourceOptions;
Method or attribute name: sourceDensity: number;
Old version information:
Class name: SourceOptions;
Method or attribute name: sourceDensity: number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: SourceOptions;
Method or attribute name: sourcePixelFormat?: PixelMapFormat;
Old version information:
Class name: SourceOptions;
Method or attribute name: sourcePixelFormat?: PixelMapFormat;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: SourceOptions;
Method or attribute name: sourceSize?: Size;
Old version information:
Class name: SourceOptions;
Method or attribute name: sourceSize?: Size;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: interface PixelMap
Old version information:
Class name: PixelMap;
Method or attribute name: interface PixelMap
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: readonly isEditable: boolean;
Old version information:
Class name: PixelMap;
Method or attribute name: readonly isEditable: boolean;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: readPixelsToBuffer(dst: ArrayBuffer): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: readPixelsToBuffer(dst: ArrayBuffer): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: readPixelsToBuffer(dst: ArrayBuffer, callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: readPixelsToBuffer(dst: ArrayBuffer, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: readPixels(area: PositionArea): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: readPixels(area: PositionArea): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: readPixels(area: PositionArea, callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: readPixels(area: PositionArea, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: writePixels(area: PositionArea): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: writePixels(area: PositionArea): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: writePixels(area: PositionArea, callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: writePixels(area: PositionArea, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: writeBufferToPixels(src: ArrayBuffer): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: writeBufferToPixels(src: ArrayBuffer): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: writeBufferToPixels(src: ArrayBuffer, callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: writeBufferToPixels(src: ArrayBuffer, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: getImageInfo(): Promise<ImageInfo>;
Old version information:
Class name: PixelMap;
Method or attribute name: getImageInfo(): Promise<ImageInfo>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: getImageInfo(callback: AsyncCallback<ImageInfo>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: getImageInfo(callback: AsyncCallback<ImageInfo>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: getImageInfo(callback: AsyncCallback<ImageInfo>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: getImageInfo(callback: AsyncCallback<ImageInfo>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: getBytesNumberPerRow(): number;
Old version information:
Class name: PixelMap;
Method or attribute name: getBytesNumberPerRow(): number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: getPixelBytesNumber(): number;
Old version information:
Class name: PixelMap;
Method or attribute name: getPixelBytesNumber(): number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: getDensity(): number;
Old version information:
Class name: PixelMap;
Method or attribute name: getDensity(): number;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: opacity(rate: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: opacity(rate: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: opacity(rate: number): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: opacity(rate: number): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: createAlphaPixelmap(): Promise<PixelMap>;
Old version information:
Class name: PixelMap;
Method or attribute name: createAlphaPixelmap(): Promise<PixelMap>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: createAlphaPixelmap(callback: AsyncCallback<PixelMap>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: createAlphaPixelmap(callback: AsyncCallback<PixelMap>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: scale(x: number, y: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: scale(x: number, y: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: scale(x: number, y: number): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: scale(x: number, y: number): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: translate(x: number, y: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: translate(x: number, y: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: translate(x: number, y: number): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: translate(x: number, y: number): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: rotate(angle: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: rotate(angle: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: rotate(angle: number): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: rotate(angle: number): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: flip(horizontal: boolean, vertical: boolean, callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: flip(horizontal: boolean, vertical: boolean, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: flip(horizontal: boolean, vertical: boolean): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: flip(horizontal: boolean, vertical: boolean): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: crop(region: Region, callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: crop(region: Region, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: crop(region: Region): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: crop(region: Region): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: release(callback: AsyncCallback<void>): void;
Old version information:
Class name: PixelMap;
Method or attribute name: release(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: release(callback: AsyncCallback<void>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: release(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImagePacker;
Method or attribute name: release(callback: AsyncCallback<void>): void;
Old version information:
Class name: ImagePacker;
Method or attribute name: release(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: PixelMap;
Method or attribute name: release(): Promise<void>;
Old version information:
Class name: PixelMap;
Method or attribute name: release(): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: release(): Promise<void>;
Old version information:
Class name: ImageSource;
Method or attribute name: release(): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImagePacker;
Method or attribute name: release(): Promise<void>;
Old version information:
Class name: ImagePacker;
Method or attribute name: release(): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: interface ImageSource
Old version information:
Class name: ImageSource;
Method or attribute name: interface ImageSource
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: getImageInfo(index: number, callback: AsyncCallback<ImageInfo>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: getImageInfo(index: number, callback: AsyncCallback<ImageInfo>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: getImageInfo(index?: number): Promise<ImageInfo>;
Old version information:
Class name: ImageSource;
Method or attribute name: getImageInfo(index?: number): Promise<ImageInfo>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: createPixelMap(options?: DecodingOptions): Promise<PixelMap>;
Old version information:
Class name: ImageSource;
Method or attribute name: createPixelMap(options?: DecodingOptions): Promise<PixelMap>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: createPixelMap(callback: AsyncCallback<PixelMap>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: createPixelMap(callback: AsyncCallback<PixelMap>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: createPixelMap(options: DecodingOptions, callback: AsyncCallback<PixelMap>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: createPixelMap(options: DecodingOptions, callback: AsyncCallback<PixelMap>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: getImageProperty(key: string, options?: GetImagePropertyOptions): Promise<string>;
Old version information:
Class name: ImageSource;
Method or attribute name: getImageProperty(key: string, options?: GetImagePropertyOptions): Promise<string>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: getImageProperty(key: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: getImageProperty(key: string, callback: AsyncCallback<string>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: getImageProperty(key: string, options: GetImagePropertyOptions, callback: AsyncCallback<string>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: getImageProperty(key: string, options: GetImagePropertyOptions, callback: AsyncCallback<string>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: modifyImageProperty(key: string, value: string): Promise<void>;
Old version information:
Class name: ImageSource;
Method or attribute name: modifyImageProperty(key: string, value: string): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: modifyImageProperty(key: string, value: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: modifyImageProperty(key: string, value: string, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: updateData(buf: ArrayBuffer, isFinished: boolean, value: number, length: number): Promise<void>;
Old version information:
Class name: ImageSource;
Method or attribute name: updateData(buf: ArrayBuffer, isFinished: boolean, value: number, length: number): Promise<void>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: updateData(

buf: ArrayBuffer,

isFinished: boolean,

value: number,

length: number,

callback: AsyncCallback<void>

): void;
Old version information:
Class name: ImageSource;
Method or attribute name: updateData(

buf: ArrayBuffer,

isFinished: boolean,

value: number,

length: number,

callback: AsyncCallback<void>

): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImageSource;
Method or attribute name: readonly supportedFormats: Array<string>;
Old version information:
Class name: ImageSource;
Method or attribute name: readonly supportedFormats: Array<string>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImagePacker;
Method or attribute name: readonly supportedFormats: Array<string>;
Old version information:
Class name: ImagePacker;
Method or attribute name: readonly supportedFormats: Array<string>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImagePacker;
Method or attribute name: interface ImagePacker
Old version information:
Class name: ImagePacker;
Method or attribute name: interface ImagePacker
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImagePacker;
Method or attribute name: packing(source: ImageSource, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;
Old version information:
Class name: ImagePacker;
Method or attribute name: packing(source: ImageSource, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImagePacker;
Method or attribute name: packing(source: ImageSource, option: PackingOption): Promise<ArrayBuffer>;
Old version information:
Class name: ImagePacker;
Method or attribute name: packing(source: ImageSource, option: PackingOption): Promise<ArrayBuffer>;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImagePacker;
Method or attribute name: packing(source: PixelMap, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;
Old version information:
Class name: ImagePacker;
Method or attribute name: packing(source: PixelMap, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;
New version information: crossplatform
@ohos.multimedia.image.d.ts
Cross-platform capability changed Class name: ImagePacker;
Method or attribute name: packing(source: PixelMap, option: PackingOption): Promise<ArrayBuffer>;
Old version information:
Class name: ImagePacker;
Method or attribute name: packing(source: PixelMap, option: PackingOption): Promise<ArrayBuffer>;
New version information: crossplatform
@ohos.multimedia.image.d.ts