mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 17:31:12 +00:00
add additional information for onDataPrepared
Signed-off-by: caojiajun <caojiajun6@huawei.com> Change-Id: Ia4498bf80c277e040874d2e4ad3c81ffe13f1d54
This commit is contained in:
parent
ab04e7d591
commit
f6d3db4af6
10
api/@ohos.file.photoAccessHelper.d.ts
vendored
10
api/@ohos.file.photoAccessHelper.d.ts
vendored
@ -502,7 +502,15 @@ declare namespace photoAccessHelper {
|
||||
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
|
||||
* @since 11
|
||||
*/
|
||||
onDataPrepared(data: T): void;
|
||||
/**
|
||||
* Indicates required media asset data is prepared
|
||||
*
|
||||
* @param { T } data - the returned data of media asset
|
||||
* @param { Map<string, string> } [map] - additional information for the data
|
||||
* @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core
|
||||
* @since 12
|
||||
*/
|
||||
onDataPrepared(data: T, map?: Map<string, string>): void;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user