mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
!12482 新增getindexprogress接口
Merge pull request !12482 from caochuan/getindexprogress
This commit is contained in:
commit
d644ba29d5
13
api/@ohos.file.photoAccessHelper.d.ts
vendored
13
api/@ohos.file.photoAccessHelper.d.ts
vendored
@ -3246,6 +3246,19 @@ declare namespace photoAccessHelper {
|
||||
* @since 11
|
||||
*/
|
||||
applyChanges(mediaChangeRequest: MediaChangeRequest): Promise<void>;
|
||||
/**
|
||||
* Get index construction progress.
|
||||
*
|
||||
* @permission ohos.permission.READ_IMAGEVIDEO
|
||||
* @returns { Promise<string> } Returns progress of the photo and video
|
||||
* @throws { BusinessError } 201 - Permission denied
|
||||
* @throws { BusinessError } 202 - Called by non-system application
|
||||
* @throws { BusinessError } 14000011 - Internal system error
|
||||
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
|
||||
* @systemapi
|
||||
* @since 12
|
||||
*/
|
||||
getIndexConstructProgress(): Promise<string>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user