mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
!12762 picker新增getSelectedIndex接口
Merge pull request !12762 from zhouoaoteng/master
This commit is contained in:
commit
e9c4e95ba0
11
api/@ohos.file.picker.d.ts
vendored
11
api/@ohos.file.picker.d.ts
vendored
@ -757,6 +757,17 @@ declare namespace picker {
|
||||
* @since 12
|
||||
*/
|
||||
save(callback: AsyncCallback<Array<string>>): void;
|
||||
|
||||
/**
|
||||
* Obtain the saving type selected by the user.
|
||||
*
|
||||
* @returns { number } Returns the index of the suffix array fileSuffixChoices configured by the user in DocumentSaveOptions.
|
||||
* @syscap SystemCapability.FileManagement.UserFileService
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
getSelectedIndex(): number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user