!12847 corefilekit打元服务标签

Merge pull request !12847 from 苏小桀/master_corefilekit
This commit is contained in:
openharmony_ci 2024-07-25 11:46:09 +00:00 committed by Gitee
commit ecf6ca2b4b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -285,6 +285,7 @@ declare namespace picker {
* The constructor used to create a PhotoViewPicker object.
*
* @syscap SystemCapability.FileManagement.UserFileService
* @atomicservice
* @since 12
*/
constructor();
@ -734,6 +735,7 @@ declare namespace picker {
* The constructor used to create a DocumentViewPicker object.
*
* @syscap SystemCapability.FileManagement.UserFileService
* @atomicservice
* @since 12
*/
constructor();
@ -743,6 +745,7 @@ declare namespace picker {
*
* @param { Context } context - represents the context.
* @syscap SystemCapability.FileManagement.UserFileService
* @atomicservice
* @since 12
*/
constructor(context: Context);
@ -913,6 +916,7 @@ declare namespace picker {
*
* @syscap SystemCapability.FileManagement.UserFileService
* @crossplatform
* @atomicservice
* @since 12
*/
class AudioSaveOptions {
@ -929,6 +933,7 @@ declare namespace picker {
* @type { ?Array<string> }
* @syscap SystemCapability.FileManagement.UserFileService
* @crossplatform
* @atomicservice
* @since 12
*/
newFileNames?: Array<string>;
@ -945,6 +950,7 @@ declare namespace picker {
*
* @syscap SystemCapability.FileManagement.UserFileService
* @crossplatform
* @atomicservice
* @since 12
*/
class AudioViewPicker {
@ -961,6 +967,7 @@ declare namespace picker {
*
* @param { Context } context - represents the context.
* @syscap SystemCapability.FileManagement.UserFileService
* @atomicservice
* @since 12
*/
constructor(context: Context);
@ -980,6 +987,7 @@ declare namespace picker {
* @returns { Promise<Array<string>> } Returns the uris for the selected files.
* @syscap SystemCapability.FileManagement.UserFileService
* @crossplatform
* @atomicservice
* @since 12
*/
select(option?: AudioSelectOptions): Promise<Array<string>>;
@ -1035,6 +1043,7 @@ declare namespace picker {
* @returns { Promise<Array<string>> } Returns the uris for the saved files.
* @syscap SystemCapability.FileManagement.UserFileService
* @crossplatform
* @atomicservice
* @since 12
*/
save(option?: AudioSaveOptions): Promise<Array<string>>;