UNPKG

@snap/camera-kit

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