# Method View.setMimeTypes

Sets the MIME types included in the view. Use commas to separate MIME types if
more than one is required. If you don't set MIME types, files of all MIME types
are displayed in the view.

## Signature

    setMimeTypes(mimeTypes: string): DocsView;

## Details

| Optional | No |
| Final | No |
| Protected | No |
| Static | No |
|---|---|

## Parameters

| Name | Type | Optional | Description |
|---|---|---|---|
| `mimeTypes` | `string` | No |   |

## Returns

`https://developers.google.com/workspace/drive/picker/reference/picker.docsview`