[**CameraKit Web SDK v1.15.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`](OpenDefaultFilePicker.md)

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.
