@snap/camera-kit
Version:
Camera Kit Web
33 lines (17 loc) • 639 B
Markdown
[**CameraKit Web SDK v1.13.0**](../README.md)
***
[](../globals.md) / FilePicker
> **FilePicker**: (`options`, `openDefaultPicker`) => [`FilePickerResult`](FilePickerResult.md)
A callback to show a file picker dialog.
[`FilePickerOptions`](FilePickerOptions.md)
Options for the file picker dialog.
`OpenDefaultFilePicker`
The default file picker function. The client app may choose to use
the default file picker.
[`FilePickerResult`](FilePickerResult.md)
A promise that resolves to the result of the file picker dialog.