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: ImageSource;
Method or attribute name: getDelayTime(): Promise<Array<number>>;
NA @ohos.multimedia.image.d.ts
Deleted Class name: ImageSource;
Method or attribute name: getDelayTime(callback: AsyncCallback<Array<number>>): void;
NA @ohos.multimedia.image.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: 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: 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: audio;
Method or attribute name: type AudioEffectInfoArray = Array<Readonly<AudioEffectMode>>;
@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_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_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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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: 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: 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;
@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: 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: 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: 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: number;
@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: 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: PrelaunchConfig;
Method or attribute name: cameraDevice: CameraDevice;
@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: 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: 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: 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: 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: AVPlayer;
Method or attribute name: audioEffectMode ?: audio.AudioEffectMode;
@ohos.multimedia.media.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 added Class name: ImageSource;
Method or attribute name: createPixelMapList(options?: DecodingOptions): Promise<Array<PixelMap>>;
Old version information:
Class name: ImageSource;
Method or attribute name: createPixelMapList(options?: DecodingOptions): Promise<Array<PixelMap>>;
New version information: 62980096,62980103,62980110,62980111,62980118
@ohos.multimedia.image.d.ts
Error code added Class name: ImageSource;
Method or attribute name: createPixelMapList(callback: AsyncCallback<Array<PixelMap>>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: createPixelMapList(callback: AsyncCallback<Array<PixelMap>>): void;
New version information: 62980096,62980103,62980110,62980111,62980118
@ohos.multimedia.image.d.ts
Error code added Class name: ImageSource;
Method or attribute name: createPixelMapList(options: DecodingOptions, callback: AsyncCallback<Array<PixelMap>>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: createPixelMapList(options: DecodingOptions, callback: AsyncCallback<Array<PixelMap>>): void;
New version information: 62980096,62980103,62980110,62980111,62980118
@ohos.multimedia.image.d.ts
Error code added Class name: ImageSource;
Method or attribute name: getFrameCount(): Promise<number>;
Old version information:
Class name: ImageSource;
Method or attribute name: getFrameCount(): Promise<number>;
New version information: 62980096,62980110,62980111,62980113,62980116,62980118,62980122
@ohos.multimedia.image.d.ts
Error code added Class name: ImageSource;
Method or attribute name: getFrameCount(callback: AsyncCallback<number>): void;
Old version information:
Class name: ImageSource;
Method or attribute name: getFrameCount(callback: AsyncCallback<number>): void;
New version information: 62980096,62980110,62980111,62980113,62980116,62980118,62980122
@ohos.multimedia.image.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: dispatchSessionEvent(event: string, args: {[key: string]: Object}, callback: AsyncCallback<void>): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: dispatchSessionEvent(event: string, args: {[key: string]: Object}, 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: dispatchSessionEvent(event: string, args: {[key: string]: Object}): Promise<void>;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: dispatchSessionEvent(event: string, args: {[key: string]: Object}): Promise<void>;
New version information: 401,6600101,6600102
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}, callback: AsyncCallback<void>): void;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}, 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: setExtras(extras: {[key: string]: Object}): Promise<void>;
Old version information: 401,{@link,{@link
Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}): Promise<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: on(type: 'sessionEvent', callback: (sessionEvent: string, args: {[key: string]: Object}) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: on(type: 'sessionEvent', callback: (sessionEvent: string, args: {[key: string]: Object}) => void): void;
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: on(type: 'extrasChange', callback: (extras: {[key: string]: Object}) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: on(type: 'extrasChange', callback: (extras: {[key: string]: Object}) => void): 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
Error code changed Class name: AVSessionController;
Method or attribute name: off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {[key: string]: Object}) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {[key: string]: Object}) => void): void;
New version information: 401,6600101,6600103
@ohos.multimedia.avsession.d.ts
Error code changed Class name: AVSessionController;
Method or attribute name: off(type: 'extrasChange', callback?: (extras: {[key: string]: Object}) => void): void;
Old version information: 401,{@link,{@link
Class name: AVSessionController;
Method or attribute name: off(type: 'extrasChange', callback?: (extras: {[key: string]: Object}) => void): 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: VolumeEvent;
Method or attribute name: interface VolumeEvent
Old version information: systemapi
Class name: VolumeEvent;
Method or attribute name: interface VolumeEvent
New version information:
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeEvent;
Method or attribute name: volumeGroupId: number;
Old version information:
Class name: VolumeEvent;
Method or attribute name: volumeGroupId: number;
New version information: systemapi
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeEvent;
Method or attribute name: networkId: string;
Old version information:
Class name: VolumeEvent;
Method or attribute name: networkId: string;
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 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: 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: 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
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: AVMediaDescription;
Method or attribute name: title?: string;
Old version information:
Class name: AVMediaDescription;
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: AVMediaDescription;
Method or attribute name: subtitle?: string;
Old version information:
Class name: AVMediaDescription;
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: AVMediaDescription;
Method or attribute name: description?: string;
Old version information:
Class name: AVMediaDescription;
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: AVMediaDescription;
Method or attribute name: mediaId: string;
Old version information:
Class name: AVMediaDescription;
Method or attribute name: mediaId: string;
New version information: string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMediaDescription;
Method or attribute name: iconUri?: string;
Old version information:
Class name: AVMediaDescription;
Method or attribute name: iconUri?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVMediaDescription;
Method or attribute name: mediaUri?: string;
Old version information:
Class name: AVMediaDescription;
Method or attribute name: mediaUri?: string;
New version information: ?string
@ohos.multimedia.avsession.d.ts
Type changed Class name: AVQueueItem;
Method or attribute name: itemId: number;
Old version information:
Class name: AVQueueItem;
Method or attribute name: itemId: number;
New version information: number
@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: AVPlaybackState;
Method or attribute name: activeItemId?: number;
Old version information:
Class name: AVPlaybackState;
Method or attribute name: activeItemId?: number;
New version information: ?number
@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
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: 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: AVMediaDescription;
Method or attribute name: icon?: image.PixelMap | string;
Class name: AVMediaDescription;
Method or attribute name: icon?: image.PixelMap;
@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