diff --git a/api/@ohos.multimedia.media.d.ts b/api/@ohos.multimedia.media.d.ts index 1b0a15763aeb6efdf78bd0e67dffecf5fd67d0b0..0ff313afbd16bb6b8b2e7e4961119ffbea33ac57 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