| 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\;|NA|@ohos.multimedia.avsession.d.ts|
|Deleted|Class name: OutputDeviceInfo;
Method or attribute name: deviceName: Array\;|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\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: getAVPlaybackState(): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: effectKit;
Method or attribute name: function createColorPicker(source: image.PixelMap, region: Array\): Promise\;|@ohos.effectKit.d.ts|
|Added|NA|Class name: effectKit;
Method or attribute name: function createColorPicker(source: image.PixelMap, region: Array\, callback: AsyncCallback\): 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\>;|@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\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRoutingManager;
Method or attribute name: on(type: 'preferredInputDeviceChangeForCapturerInfo', capturerInfo: AudioCapturerInfo, callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRoutingManager;
Method or attribute name: off(type: 'preferOutputDeviceChangeForRendererInfo', callback?: Callback\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRoutingManager;
Method or attribute name: off(type: 'preferredInputDeviceChangeForCapturerInfo', callback?: Callback\): 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\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRoutingManager;
Method or attribute name: getPreferOutputDeviceForRendererInfo(rendererInfo: AudioRendererInfo): Promise\;|@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\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRoutingManager;
Method or attribute name: getPreferredInputDeviceForCapturerInfo(capturerInfo: AudioCapturerInfo): Promise\;|@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\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioStreamManager;
Method or attribute name: getAudioEffectInfoArray(usage: StreamUsage): Promise\;|@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;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: adjustVolumeByStep(adjustType: VolumeAdjustType): Promise\;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType): Promise\;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType): Promise\;|@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\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRenderer;
Method or attribute name: getAudioEffectMode(): Promise\;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRenderer;
Method or attribute name: setAudioEffectMode(mode: AudioEffectMode, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRenderer;
Method or attribute name: setAudioEffectMode(mode: AudioEffectMode): Promise\;|@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\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRenderer;
Method or attribute name: getMinStreamVolume(): Promise\;|@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\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRenderer;
Method or attribute name: getMaxStreamVolume(): Promise\;|@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\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRenderer;
Method or attribute name: getUnderflowCount(): Promise\;|@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\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRenderer;
Method or attribute name: getCurrentOutputDevices(): Promise\;|@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\): void;|@ohos.multimedia.audio.d.ts|
|Added|NA|Class name: AudioRenderer;
Method or attribute name: off(type: 'outputDeviceChange', callback?: Callback\): 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\;|@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\): 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\>>): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function getHistoricalSessionDescriptors(maxSize?: number): Promise\>>;|@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;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function startCastDeviceDiscovery(filter: number, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function startCastDeviceDiscovery(filter?: number): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function stopCastDeviceDiscovery(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function stopCastDeviceDiscovery(): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function setDiscoverable(enable: boolean, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function setDiscoverable(enable: boolean): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function getAVCastController(sessionId: string, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function getAVCastController(sessionId: string): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function startCasting(session: SessionToken, device: OutputDeviceInfo, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function startCasting(session: SessionToken, device: OutputDeviceInfo): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function stopCasting(session: SessionToken, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: avSession;
Method or attribute name: function stopCasting(session: SessionToken): Promise\;|@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;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSession;
Method or attribute name: dispatchSessionEvent(event: string, args: {[key: string]: Object}): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSession;
Method or attribute name: setAVQueueItems(items: Array\, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSession;
Method or attribute name: setAVQueueItems(items: Array\): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSession;
Method or attribute name: setAVQueueTitle(title: string, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSession;
Method or attribute name: setAVQueueTitle(title: string): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSession;
Method or attribute name: getAVCastController(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSession;
Method or attribute name: getAVCastController(): Promise\;|@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;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSession;
Method or attribute name: stopCasting(): Promise\;|@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;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: setDisplaySurface(surfaceId: string): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: sendControlCommand(command: AVCastControlCommand, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: sendControlCommand(command: AVCastControlCommand): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: start(item: AVQueueItem, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: start(item: AVQueueItem): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: prepare(item: AVQueueItem, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: prepare(item: AVQueueItem): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: getCurrentItem(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: getCurrentItem(): Promise\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'playbackStateChange', filter: Array\ \| '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\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'playNext', callback: Callback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'playPrevious', callback: Callback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'seekDone', callback: Callback\): 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\;|@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\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSessionController;
Method or attribute name: getAVQueueTitle(): Promise\;|@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\>): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSessionController;
Method or attribute name: getAVQueueItems(): Promise\>;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSessionController;
Method or attribute name: getAVQueueItemsSync(): Array\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSessionController;
Method or attribute name: skipToQueueItem(itemId: number, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSessionController;
Method or attribute name: skipToQueueItem(itemId: number): Promise\;|@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\;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSessionController;
Method or attribute name: sendCommonCommand(command: string, args: {[key: string]: Object}, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|Added|NA|Class name: AVSessionController;
Method or attribute name: sendCommonCommand(command: string, args: {[key: string]: Object}): Promise\;|@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\) => 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\) => 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\): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CameraManager;
Method or attribute name: off(type: 'cameraMute', callback?: AsyncCallback\): 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\): 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\;|@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\;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: CaptureSession;
Method or attribute name: getSupportedBeautyRange(type: BeautyType): Array\;|@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\;|@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\;|@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;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: VideoOutput;
Method or attribute name: off(type: 'frameStart', callback?: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: PreviewOutput;
Method or attribute name: off(type: 'frameEnd', callback?: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: VideoOutput;
Method or attribute name: off(type: 'frameEnd', callback?: AsyncCallback\): 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\): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: PhotoOutput;
Method or attribute name: off(type: 'captureStart', callback?: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: PhotoOutput;
Method or attribute name: off(type: 'frameShutter', callback?: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: PhotoOutput;
Method or attribute name: off(type: 'captureEnd', callback?: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|Added|NA|Class name: PhotoOutput;
Method or attribute name: off(type: 'quickThumbnail', callback?: AsyncCallback\): 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\>): 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\;|@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\>;|@ohos.multimedia.image.d.ts|
|Added|NA|Class name: ImageSource;
Method or attribute name: createPixelMapList(callback: AsyncCallback\>): void;|@ohos.multimedia.image.d.ts|
|Added|NA|Class name: ImageSource;
Method or attribute name: createPixelMapList(options: DecodingOptions, callback: AsyncCallback\>): void;|@ohos.multimedia.image.d.ts|
|Added|NA|Class name: ImageSource;
Method or attribute name: getDelayTimeList(): Promise\>;|@ohos.multimedia.image.d.ts|
|Added|NA|Class name: ImageSource;
Method or attribute name: getDelayTimeList(callback: AsyncCallback\>): void;|@ohos.multimedia.image.d.ts|
|Added|NA|Class name: ImageSource;
Method or attribute name: getFrameCount(): Promise\;|@ohos.multimedia.image.d.ts|
|Added|NA|Class name: ImageSource;
Method or attribute name: getFrameCount(callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|Added|NA|Class name: media;
Method or attribute name: function createSoundPool(
maxStreams: number,
audioRenderInfo: audio.AudioRendererInfo,
callback: AsyncCallback\
): void;|@ohos.multimedia.media.d.ts|
|Added|NA|Class name: media;
Method or attribute name: function createSoundPool(maxStreams: number, audioRenderInfo: audio.AudioRendererInfo): Promise\;|@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;|@ohos.multimedia.systemSoundManager.d.ts|
|Added|NA|Class name: SystemSoundManager;
Method or attribute name: setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType): Promise\;|@ohos.multimedia.systemSoundManager.d.ts|
|Added|NA|Class name: SystemSoundManager;
Method or attribute name: getSystemRingtoneUri(context: Context, type: RingtoneType, callback: AsyncCallback\): void;|@ohos.multimedia.systemSoundManager.d.ts|
|Added|NA|Class name: SystemSoundManager;
Method or attribute name: getSystemRingtoneUri(context: Context, type: RingtoneType): Promise\;|@ohos.multimedia.systemSoundManager.d.ts|
|Added|NA|Class name: SystemSoundManager;
Method or attribute name: getSystemRingtonePlayer(context: Context, type: RingtoneType, callback: AsyncCallback\): void;|@ohos.multimedia.systemSoundManager.d.ts|
|Added|NA|Class name: SystemSoundManager;
Method or attribute name: getSystemRingtonePlayer(context: Context, type: RingtoneType): Promise\;|@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\): void;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: getTitle(): Promise\;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: getAudioRendererInfo(callback: AsyncCallback\): void;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: getAudioRendererInfo(): Promise\;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: configure(options: RingtoneOptions, callback: AsyncCallback\): void;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: configure(options: RingtoneOptions): Promise\;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: start(callback: AsyncCallback\): void;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: start(): Promise\;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: stop(callback: AsyncCallback\): void;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: stop(): Promise\;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: release(callback: AsyncCallback\): void;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: release(): Promise\;|ringtonePlayer.d.ts|
|Added|NA|Class name: RingtonePlayer;
Method or attribute name: on(type: 'audioInterrupt', callback: Callback\): 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\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: load(uri: string): Promise\;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: load(fd: number, offset: number, length: number, callback: AsyncCallback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: load(fd: number, offset: number, length: number): Promise\;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: play(soundID: number, params: PlayParameters, callback: AsyncCallback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: play(soundID: number, callback: AsyncCallback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: play(soundID: number, params?: PlayParameters): Promise\;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: stop(streamID: number, callback: AsyncCallback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: stop(streamID: number): Promise\;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: setLoop(streamID: number, loop: number, callback: AsyncCallback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: setLoop(streamID: number, loop: number): Promise\;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: setPriority(streamID: number, priority: number, callback: AsyncCallback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: setPriority(streamID: number, priority: number): Promise\;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: setRate(streamID: number, rate: audio.AudioRendererRate, callback: AsyncCallback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: setRate(streamID: number, rate: audio.AudioRendererRate): Promise\;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: setVolume(streamID: number, leftVolume: number, rightVolume: number, callback: AsyncCallback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: setVolume(streamID: number, leftVolume: number, rightVolume: number): Promise\;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: unload(soundID: number, callback: AsyncCallback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: unload(soundID: number): Promise\;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: release(callback: AsyncCallback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: release(): Promise\;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: on(type: 'loadComplete', callback: Callback\): void;|soundPool.d.ts|
|Added|NA|Class name: SoundPool;
Method or attribute name: on(type: 'playFinished', callback: Callback\): 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\): void;
Old version information: |Class name: AudioManager;
Method or attribute name: on(type: 'volumeChange', callback: Callback\): 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\;
Old version information: |Class name: effectKit;
Method or attribute name: function createColorPicker(source: image.PixelMap): Promise\;
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\): void;
Old version information: |Class name: effectKit;
Method or attribute name: function createColorPicker(source: image.PixelMap, callback: AsyncCallback\): 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\;
Old version information: |Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise\;
New version information: 401,6600101|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise\>>;
Old version information: |Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise\>>;
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\;
Old version information: |Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise\;
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\): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken \| 'all', audioDevices: Array\): Promise\;
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\;
Old version information: |Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise\;
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\;
Old version information: |Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise\;
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\;
Old version information: |Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata): Promise\;
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\;
Old version information: |Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise\;
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\;
Old version information: |Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise\;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSession;
Method or attribute name: getController(): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: getController(): Promise\;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSession;
Method or attribute name: getOutputDevice(): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: getOutputDevice(): Promise\;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSessionController;
Method or attribute name: getOutputDevice(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: getOutputDevice(): Promise\;
New version information: 600101,600103|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSession;
Method or attribute name: activate(): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: activate(): Promise\;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSession;
Method or attribute name: deactivate(): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: deactivate(): Promise\;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSession;
Method or attribute name: destroy(): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: destroy(): Promise\;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSessionController;
Method or attribute name: destroy(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: destroy(): Promise\;
New version information: 6600101,6600103|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(): Promise\;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSessionController;
Method or attribute name: getAVMetadata(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: getAVMetadata(): Promise\;
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\;
Old version information: |Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise\;
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\;
Old version information: |Class name: AVSessionController;
Method or attribute name: getLaunchAbility(): Promise\;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSessionController;
Method or attribute name: isActive(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: isActive(): Promise\;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|Error code added|Class name: AVSessionController;
Method or attribute name: getValidCommands(): Promise\>;
Old version information: |Class name: AVSessionController;
Method or attribute name: getValidCommands(): Promise\>;
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\;
Old version information: |Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise\;
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\): void;
Old version information: 401,{@link|Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback\): 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\>>): void;
Old version information: 201,{@link|Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(callback: AsyncCallback\>>): 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\): void;
Old version information: 201,401,{@link,{@link|Class name: avSession;
Method or attribute name: function createController(sessionId: string, callback: AsyncCallback\): 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\, callback: AsyncCallback\): void;
Old version information: 201,401,{@link,{@link,{@link|Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken \| 'all', audioDevices: Array\, callback: AsyncCallback\): 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;
Old version information: 201,401,{@link,{@link|Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback\): 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;
Old version information: 201,401,{@link,{@link,{@link|Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback\): 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;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback\): 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;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback\): 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;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback\): 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\): void;
Old version information: {@link,{@link|Class name: AVSession;
Method or attribute name: getController(callback: AsyncCallback\): void;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts|
|Error code changed|Class name: AVSession;
Method or attribute name: getOutputDevice(callback: AsyncCallback\): void;
Old version information: {@link,{@link|Class name: AVSession;
Method or attribute name: getOutputDevice(callback: AsyncCallback\): void;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts|
|Error code changed|Class name: AVSessionController;
Method or attribute name: getOutputDevice(callback: AsyncCallback\): void;
Old version information: {@link,{@link|Class name: AVSessionController;
Method or attribute name: getOutputDevice(callback: AsyncCallback\): 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;
Old version information: {@link,{@link|Class name: AVSession;
Method or attribute name: activate(callback: AsyncCallback\): 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;
Old version information: {@link,{@link|Class name: AVSession;
Method or attribute name: deactivate(callback: AsyncCallback\): 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;
Old version information: {@link,{@link|Class name: AVSession;
Method or attribute name: destroy(callback: AsyncCallback\): void;