/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | system-app-startup.md | 10 - **使用系统Picker组件** 12 相机、文件管理、联系人等系统应用提供了系统Picker组件,支持开发者无需申请权限、即可使用系统应用的一些常用功能,比如访问用户的资源文件。 14 …应用拉起系统Picker组件(文件选择器、照片选择器、联系人选择器等)后,由用户在Picker上选择对应的文件、照片、联系人等资源,应用即可获取到Picker的返回结果。例如,一个音频播放器应用可… 17 …> 由于系统Picker已经获取了对应权限的预授权,开发者使用系统Picker时,无需再次申请权限也可临时受限访问对应的资源。例如,当应用需要读取用户图片时,可通过使用照片Picker,在用户选择… 19 > 系统Picker由系统独立进程实现。 60 [Contacts Kit](../contacts/contacts-intro.md)提供联系人Picker(Contacts Picker),用于拉起联系人应用,读取联系人数据人。详见[选择联… 65 [Camera Kit](../media/camera/camera-overview.md)提供了相机Picker (Camera Picker),用于拍照、录像。详见[通过系统相机拍照和录像]… 69 [Core File Kit](../file-management/core-file-kit-intro.md)提供了文件Picker和音频Picker。 70 - 文件Picker(DocumentViewPicker):用于访问、保存公共目录中文档类文件。详见[选择文档类文件](../file-management/select-user-file.md… 71 - 音频Picker(AudioViewPicker):用于访问、保存公共目录的图片或视频文件。详见[选择音频类文件](../file-management/select-user-file.md#… [all …]
|
/ohos5.0/docs/zh-cn/application-dev/security/AccessToken/ |
H A D | access-token-overview.md | 25 具体来说,安全访问机制主要由系统Picker、安全控件两种系统机制来实现,在特定的场景中,应用无需向用户申请权限也可临时访问受限资源,实现精准化权限管控,更好地保护用户隐私。 27 - [系统Picker](../../application-models/system-app-startup.md) 29 …由系统独立进程实现,在应用拉起Picker,并由用户操作Picker后,应用可以获取Picker返回的资源或结果。举例说明,当应用需要读取用户图片时,可通过使用照片Picker,在用户选择所需要的…
|
H A D | security-component-overview.md | 36 …建议使用场景:保存控件可以用于任何应用需要保存文件到媒体库的场景(保存图片、保存视频等)。与Picker需要拉起系统应用再由用户选择具体路径保存的方式不同,保存控件将直接保存到指定媒体库路径,操作…
|
/ohos5.0/docs/zh-cn/application-dev/file-management/ |
H A D | save-user-file.md | 3 在从网络下载文件到本地、或将已有用户文件另存为新的文件路径等场景下,需要使用FilePicker提供的保存用户文件的能力。Picker获取的URI只具有临时权限,获取持久化权限需要通过[FilePi… 5 对音频、图片、视频、文档类文件的保存操作类似,均通过调用对应Picker的save()接口并传入对应的saveOptions来实现。通过Picker访问相关文件,无需申请权限。 7 当前所有Picker的save接口都是用户可感知的,具体行为是拉起FilePicker, 将文件保存在系统文件管理器管理的特定目录,与图库管理的资源隔离,无法在图库中看到。 58 > 1、建议不在Picker的回调里直接使用此URI进行打开文件操作,需要定义一个全局变量保存URI。 59 …> 2、使用Picker的[save()](../reference/apis-core-file-kit/js-apis-file-picker.md#save)接口获取到URI的权限是临时读写… 117 > 1、建议不在Picker的回调里直接使用此URI进行打开文件操作,需要定义一个全局变量保存URI。 118 …> 2、使用Picker获取的[save()](../reference/apis-core-file-kit/js-apis-file-picker.md#save-3)URI权限是临时读写权限…
|
H A D | file-persistPermission.md | 5 应用通过Picker获取临时授权,临时授权在应用退出后或者设备重启后会清除,如果应用重启或者设备重启后需要直接访问之前已访问过的文件,则对文件进行持久化授权。 7 ## 通过Picker获取临时授权并进行授权持久化 9 通过Picker选择文件或文件夹进行临时授权,然后应用可以按需通过文件分享接口([ohos.fileshare](../reference/apis-core-file-kit/js-apis-fi… 11 …用调用Picker的([select](../reference/apis-core-file-kit/js-apis-file-picker.md#select-3))接口选择需要发送的文件或者… 13 …Picker选择文件或文件夹进行临时授权,然后利用persistPermission接口([ohos.fileshare.persistPermission](../reference/apis-…
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | system-app-startup.md | 10 - **Using Picker Components** 12 …System applications like Camera, Files, and Contacts provide **Picker** components, which allow yo… 14 …An application starts a system-level **Picker** component (such as **DocumentViewPicker**, **Photo… 18 …> The system-level **Picker** components have been pre-authorized. When using such a component, yo… 20 > A system-level **Picker** component is implemented by an independent system process. 61 [Contacts Kit](../contacts/contacts-intro.md) provides the Contacts Picker, which is used to start … 66 …overview.md) provides the Camera Picker for photo capture and video recording. For details, see [U… 75 … in the public directory. For details, see [Selecting Media Assets Using Picker](../media/medialib…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-textpicker.md | 85 设置Picker各选择项的高度。 95 | value | number \| string | 是 | Picker各选择项的高度。 | 344 console.info('Picker item changed, value: ' + value + ', index: ' + index) 347 console.info('Picker scroll stopped, value: ' + value + ', index: ' + index) 388 console.info('Picker item changed, value: ' + value + ', index: ' + index) 391 console.info('Picker scroll stopped, value: ' + value + ', index: ' + index) 419 console.info('Picker item changed, value: ' + value + ', index: ' + index) 422 console.info('Picker scroll stopped, value: ' + value + ', index: ' + index) 450 console.info('Picker item changed, value: ' + value + ', index: ' + index) 453 console.info('Picker scroll stopped, value: ' + value + ', index: ' + index) [all …]
|
/ohos5.0/docs/zh-cn/application-dev/contacts/ |
H A D | contacts-intro.md | 10 通过Contacts Kit,开发者可以对联系人进行管理,包括增加、删除、修改、查询联系人信息。开发者还可以通过Picker的方式,拉起联系人列表。 14 - [使用Picker选择联系人](#使用picker选择联系人) 29 ## 使用Picker选择联系人 31 当用户选择联系人的时候,通过Picker的方式,拉起联系人列表,引导用户完成界面操作,接口本身无需申请权限。
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | multimodal-picker.md | 1 # Picker chapter 19 ## Time Picker 29 For the software implementation of the time picker, see [Time Picker](../../application-dev/referen… 42 For the software implementation of the date picker, see [Date Picker](../../application-dev/referen…
|
/ohos5.0/docs/zh-cn/application-dev/media/media/ |
H A D | using-avscreencapture-for-buffer.md | 122 …N)、传一个窗口Id的指定窗口模式(OH_CAPTURE_SPECIFIED_WINDOW)下,2in1设备弹出Picker选择弹窗并根据传入的窗口Id选中对应窗口。最终录屏内容以Picker弹出… 136 vector<int32_t> missionIds = {61}; // 表示弹出的Picker默认选中61号窗口 145 2in1设备不弹Picker选择界面,弹出隐私允许/不允许弹窗,可同时录制多个窗口; 164 2in1设备弹出Picker选择弹窗,传入的有效屏幕Id作为Picker弹窗上被选中的默认屏幕; 178 2in1设备不弹Picker选择界面,弹出隐私允许/不允许弹窗;
|
/ohos5.0/docs/en/application-dev/file-management/ |
H A D | save-user-file.md | 3 …Picker, however, is temporary. If required, you can persist the permission on the URI. For details… 5 …o clips, and documents are similar. Call **save()** of the corresponding Picker instance and pass … 59 > - Avoid directly using a URI in the Picker callback to open the document. Instead, define a globa… 60 …[save()](../reference/apis-core-file-kit/js-apis-file-picker.md#save) of Picker is a temporary rea… 61 … devices. For details, see [Persisting a Temporary Permission Granted by Picker](file-persistPermi… 117 > - Avoid directly using a URI in the Picker callback to open the audio clip. Instead, define a glo… 118 …ave()](../reference/apis-core-file-kit/js-apis-file-picker.md#save-3) of Picker is a temporary rea… 119 … devices. For details, see [Persisting a Temporary Permission Granted by Picker](file-persistPermi…
|
H A D | file-persistPermission.md | 5 If an application accesses a file by using Picker, the permission for accessing the file will be au… 7 ## Persisting a Temporary Permission Granted by Picker 10 You can use Picker to select a file or folder, and persist the temporary permission granted by Pick… 12 …Picker to select the file or image to be sent. In this case, the application obtains the temporary… 14 …Picker to select the file, and use [ohos.fileshare.persistPermission](../reference/apis-core-file-…
|
H A D | select-user-file.md | 3 …Picker is used to access a file, the related application will be started and guide the user to com… 7 …r): used to select and save images and videos. However, the APIs of this Picker will not be mainta… 60 …t()](../reference/apis-core-file-kit/js-apis-file-picker.md#select-3) of Picker is a temporary rea… 62 … devices. For details, see [Persisting a Temporary Permission Granted by Picker](file-persistPermi… 126 …t()](../reference/apis-core-file-kit/js-apis-file-picker.md#select-3) of Picker is a temporary rea… 128 … devices. For details, see [Persisting a Temporary Permission Granted by Picker](file-persistPermi…
|
/ohos5.0/docs/en/application-dev/media/medialibrary/ |
H A D | photoAccessHelper-photoviewpicker.md | 1 # Selecting Media Assets Using Picker 3 …ages and videos, use **Picker** to start Gallery for the user to select the files to share. No per… 40 … read based on the URI. Note that the URI cannot be directly used in the Picker callback to open a… 67 The media library allows **Picker** to select a [media file URI](../../file-management/user-file-ur…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-library-kit/ |
H A D | ohos-file-PhotoPickerComponent.md | 61 … | 否 | - | 用户在Picker组件中勾选图片时产生的回调事件,将图片… 62 … | 否 | - | 用户在Picker组件中取消勾选图片时产生的回调事件,同… 72 … | 否 | @ObjectLink | 应用可通过PickerController向Picker组件发送数据。 … 78 Picker配置选项。 349 Picker宫格页面滑动预览的方向。(该能力暂不支持) 375 Picker的颜色模式。
|
H A D | ohos-file-AlbumPickerComponent.md | 1 # @ohos.file.AlbumPickerComponent (Album Picker组件) 46 Album Picker配置选项。
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-textpicker.md | 285 ### Example 1: Setting the Number of Columns in the Picker 326 console.info('Picker item changed, value: ' + value + ', index: ' + index) 329 console.info('Picker scroll stopped, value: ' + value + ', index: ' + index) 370 console.info('Picker item changed, value: ' + value + ', index: ' + index) 373 console.info('Picker scroll stopped, value: ' + value + ', index: ' + index) 401 console.info('Picker item changed, value: ' + value + ', index: ' + index) 404 console.info('Picker scroll stopped, value: ' + value + ', index: ' + index) 432 console.info('Picker item changed, value: ' + value + ', index: ' + index) 435 console.info('Picker scroll stopped, value: ' + value + ', index: ' + index) 468 console.info('Picker item changed, value: ' + value + ', index: ' + index) [all …]
|
/ohos5.0/docs/zh-cn/contribute/template/ |
H A D | guide-template.md | 415 2. 创建Picker组件配置选项实例(PickerOptions)和控制实例(PickerController)。 416 通过PickerOptions,开发者可配置Picker宫格的样式(如勾选框背景色、文本颜色等)、滑动预览方向、最大选择数量等参数。 417 通过PickerController,应用可向Picker组件发送数据。
|
/ohos5.0/docs/en/application-dev/security/AccessToken/ |
H A D | access-token-overview.md | 29 …Picker is implemented by an independent system process. It provides a safe, built-in way for users…
|
/ohos5.0/docs/en/application-dev/contacts/ |
H A D | contacts-intro.md | 10 …eting, modifying, and querying contact information. You can also use the Picker function to open t… 14 - [Contact Selection with Picker](#contact-selection) 31 When you select a contact, the contact list is displayed in Picker mode to facilitate selection. Yo…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/ |
H A D | errorcode-filemanagement.md | 25 2、根据[系统Picker](../../application-models/system-app-startup.md)的运行机制,通过Picker获取到的URI仅有临时权限,无法持久化保存使用。
|
/ohos5.0/docs/zh-cn/release-notes/ |
H A D | OpenHarmony-v5.0.0-release.md | 8 …方式等);分布式数据管理能力进一步增强,在保证数据合理共享的前提下增强安全性,其他模块能力适配Sendable机制也得到了增强;文件管理进一步完善Picker的能力,对文件资源做到合理管控权限和合… 106 - 增强Picker能力:提供Audio Picker一次多选的能力;新增Download Picker,应用可直接将文件保存到“Download/包名级”目录下,且后续对该目录的访问无需申请权限,…
|
/ohos5.0/docs/zh-cn/application-dev/media/medialibrary/ |
H A D | Readme-CN.md | 4 - [使用Picker选择媒体库资源](photoAccessHelper-photoviewpicker.md)
|
H A D | photoAccessHelper-overview.md | 12 - [使用Picker选择媒体库资源](photoAccessHelper-photoviewpicker.md)
|
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/picker/include/ |
H A D | modal_ui_callback.h | 26 namespace Picker {
|