add additional information for onDataPrepared

Signed-off-by: caojiajun <caojiajun6@huawei.com>
Change-Id: Ia4498bf80c277e040874d2e4ad3c81ffe13f1d54
This commit is contained in:
caojiajun 2024-04-16 14:49:00 +08:00
parent ab04e7d591
commit f6d3db4af6

View File

@ -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;
}
/**