update api/@ohos.multimedia.movingphotoview.d.ts.

Signed-off-by: 大山 <qinlida1@h-partners.com>
This commit is contained in:
大山 2024-08-09 09:59:36 +00:00 committed by Gitee
parent 9a78cda008
commit f42339279d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -184,8 +184,8 @@ declare class MovingPhotoViewAttribute extends CommonMethod<MovingPhotoViewAttri
*/
onError(callback: MovingPhotoViewEventCallback): MovingPhotoViewAttribute;
/**
* Sets automatic play period, If not set, the movingphoto plays in the full video duration.
* If set, the movingphoto plays in the automatic play period.
* Sets automatic play period, If not set, the moving photo plays in the full video duration.
* If set, the moving photo plays in the automatic play period.
*
* @param { number } startTime video plays start time
* @param { number } endTime video plays end time
@ -197,8 +197,8 @@ declare class MovingPhotoViewAttribute extends CommonMethod<MovingPhotoViewAttri
*/
autoPlayPeriod(startTime: number, endTime: number): MovingPhotoViewAttribute;
/**
* Sets whether to allow automatic play. If the value is true, the movingphoto starts
* automaticlly after the resource is loaded.
* Sets whether to allow automatic play. If the value is true, the moving photo starts
* automatic after the resource is loaded.
*
* @param { boolean } isAutoPlay Whether to automatic play
* @returns { MovingPhotoViewAttribute }
@ -209,8 +209,8 @@ declare class MovingPhotoViewAttribute extends CommonMethod<MovingPhotoViewAttri
*/
autoPlay(isAutoPlay: boolean): MovingPhotoViewAttribute;
/**
* Sets whether to allow repeat play. If the value is true, the movingphoto plays
* repeatly after the resource is loaded.
* Sets whether to allow repeat play. If the value is true, the moving photo plays
* repeat after the resource is loaded.
*
* @param { boolean } isRepeatPlay Whether to repeat play
* @returns { MovingPhotoViewAttribute }