diff --git a/api/@ohos.multimedia.audio.d.ts b/api/@ohos.multimedia.audio.d.ts index 817083957e6d243884cd00266677a5fed62cb7fe..7babf9630dc3ae32b1bf3972e12b0e797a7ab424 100644 --- a/api/@ohos.multimedia.audio.d.ts +++ b/api/@ohos.multimedia.audio.d.ts @@ -1460,7 +1460,13 @@ declare namespace audio { * @since 8 * @syscap SystemCapability.Multimedia.Audio.Core */ - SOURCE_TYPE_MIC + SOURCE_TYPE_MIC = 0, + /** + * Voice communication source. + * @since 8 + * @syscap SystemCapability.Multimedia.Audio.Core + */ + SOURCE_TYPE_VOICE_COMMUNICATION = 7 } /** diff --git a/api/@ohos.multimedia.camera.d.ts b/api/@ohos.multimedia.camera.d.ts index 001206f1315d16ad23193752b9de4b00418a1a71..5acbd7dcff0dfe27d0a35509b1f110fd16b082c6 100644 --- a/api/@ohos.multimedia.camera.d.ts +++ b/api/@ohos.multimedia.camera.d.ts @@ -267,25 +267,6 @@ declare namespace camera { width: number; } - /** - * Enum for camera data format. Align to pixel format and image format value. - * @since 8 - * @syscap SystemCapability.Multimedia.Camera.Core - */ - enum CameraFormat { - /** - * YCRCb 420 SP format. - * @since 8 - */ - CAMERA_FORMAT_YCRCb_420_SP = 1003, - - /** - * JPEG format. - * @since 8 - */ - CAMERA_FORMAT_JPEG = 2000, - } - /** * Camera input object. * @since 8 @@ -301,28 +282,6 @@ declare namespace camera { getCameraId(callback: AsyncCallback): void; getCameraId(): Promise; - /** - * Gets all supported sizes for current camera input. - * @return Supported size array. - * @since 8 - * @syscap SystemCapability.Multimedia.Camera.Core - */ - getSupportedSizes(format: CameraFormat, callback: AsyncCallback>): void; - getSupportedSizes(format: CameraFormat): Promise>; - - /** - * Gets all supported formats for current camera input. - * @return Supported format array. - * @since 8 - * @syscap SystemCapability.Multimedia.Camera.Core - */ - getSupportedPreviewFormats(callback: AsyncCallback>): void; - getSupportedPreviewFormats(): Promise>; - getSupportedPhotoFormats(callback: AsyncCallback>): void; - getSupportedPhotoFormats(): Promise>; - getSupportedVideoFormats(callback: AsyncCallback>): void; - getSupportedVideoFormats(): Promise>; - /** * Check if device has flash light. * @return Flash light has or not. @@ -1076,4 +1035,4 @@ declare namespace camera { } } -export default camera; \ No newline at end of file +export default camera;