mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
!12847 corefilekit打元服务标签
Merge pull request !12847 from 苏小桀/master_corefilekit
This commit is contained in:
commit
ecf6ca2b4b
9
api/@ohos.file.picker.d.ts
vendored
9
api/@ohos.file.picker.d.ts
vendored
@ -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>>;
|
||||
|
Loading…
Reference in New Issue
Block a user