From 4695c326fdfe64a2ea05ec21f99b4551cb5b3755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B1=B6=E8=B0=8F?= Date: Wed, 18 Jun 2025 07:16:04 +0000 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘汶谏 --- api/@ohos.multimedia.media.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/@ohos.multimedia.media.d.ts b/api/@ohos.multimedia.media.d.ts index ddd6d7b8cc..1c6faa1d13 100755 --- a/api/@ohos.multimedia.media.d.ts +++ b/api/@ohos.multimedia.media.d.ts @@ -5247,7 +5247,8 @@ declare namespace media { getInputSurface(callback: AsyncCallback): void; /** - * Obtains the surface required for recording. This API uses a promise to return the result. The caller obtains the **surfaceBuffer** from this surface and fills in the corresponding video data. + * Obtains the surface required for recording. This API uses a promise to return the result. + * The caller obtains the **surfaceBuffer** from this surface and fills in the corresponding video data. * * Note that the video data must carry the timestamp (in ns) and buffer size, and the start time of the timestamp must be based on the system startup time. * @@ -6042,7 +6043,8 @@ declare namespace media { * stop recording control. If the AVRecorderState is also switched to error, call reset() or release() * to exit the recording. * - * An application can subscribe to only one AVRecorder error event. When the application initiates multiple subscriptions to this event, the last subscription is applied. + * An application can subscribe to only one AVRecorder error event. + * When the application initiates multiple subscriptions to this event, the last subscription is applied. * @param { 'error' } type - Event type, which is **'error'** in this case. * This event is triggered when an error occurs during recording. * @param { ErrorCallback } callback - Callback invoked when the event is triggered. -- Gitee