From 398823ff6974a049e48ef4ec7b812d838dcf5202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=BF=97=E5=A8=81?= Date: Wed, 27 Aug 2025 21:33:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9media.d.ts=E4=B8=AD=E9=9D=99?= =?UTF-8?q?=E6=80=81=E6=89=AB=E6=8F=8F=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙志威 --- api/@ohos.multimedia.media.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.multimedia.media.d.ts b/api/@ohos.multimedia.media.d.ts index 1b0a15763a..0ff313afbd 100755 --- a/api/@ohos.multimedia.media.d.ts +++ b/api/@ohos.multimedia.media.d.ts @@ -1296,7 +1296,7 @@ declare namespace media { * @param { number } timeUs - The time expected to fetch picture from the video resource. * The unit is microsecond(us). * @param { AVImageQueryOptions } queryMode - Specify how to position the video frame - * @param { OutputSize } outputSize - This field is used to define the output size of frame. + * @param { OutputSize } [outputSize] - This field is used to define the output size of frame. * @returns { Promise } Returns the output image object * @throws { BusinessError } 5400102 Operation not allowed. Returned by promise. * @throws { BusinessError } 5400106 Unsupported format. Returned by promise. @@ -3376,7 +3376,7 @@ declare namespace media { /** * Unregister listens for media playbackRateDone event. * @param { 'playbackRateDone' } type - Type of the playback event to listen for. - * @param { OnPlaybackRateDone } callback - Callback used to listen for the playbackRateDone event. + * @param { OnPlaybackRateDone } [callback] - Callback used to listen for the playbackRateDone event. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice * @since 20 @@ -4035,7 +4035,7 @@ declare namespace media { * Unsubscribes from the event indicating that super resolution is enabled or disabled. * @param { 'superResolutionChanged' } type - Type of the super-resolution event to listen for. * The event is triggered when super resolution is enabled or disabled. - * @param { OnSuperResolutionChanged } callback - Callback used to listen for the super-resolution changed event. + * @param { OnSuperResolutionChanged } [callback] - Callback used to listen for the super-resolution changed event. * @syscap SystemCapability.Multimedia.Media.AVPlayer * @atomicservice * @since 18 @@ -10107,7 +10107,7 @@ declare namespace media { * Unsubscribes from state change events of the system screen recorder. * @param { 'systemScreenRecorder' } type - Event type, which is **'systemScreenRecorder'** in this case. * This event is triggered when the state of the system screen recorder changes. - * @param { Callback } callback - Callback invoked when the event is triggered, + * @param { Callback } [callback] - Callback invoked when the event is triggered, * where ScreenCaptureEvent indicates the new state. If this parameter is not specified, the last subscription event is canceled. * @throws { BusinessError } 202 - Not System App. * @syscap SystemCapability.Multimedia.Media.AVScreenCapture -- Gitee