diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index 9850f32d75..26b30fe199 100644 --- a/api/@ohos.file.photoAccessHelper.d.ts +++ b/api/@ohos.file.photoAccessHelper.d.ts @@ -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 } [map] - additional information for the data + * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core + * @since 12 + */ + onDataPrepared(data: T, map?: Map): void; } /**