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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-20 UTC."],[],[],null,["# Class View\n\nAn abstract class for all views.\n\nSignature\n---------\n\n export abstract class View\n\nDetails\n-------\n\n| Final | No |\n|-------|----|\n\nMethods\n-------\n\n| Name | Description |\n|---------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [`getId()`](./picker.view.getid) | Returns the `ViewId` of the view. |\n| [~~`getLabel()`~~](./picker.view.getlabel) | *(Deprecated)* |\n| [~~`setLabel(label)`~~](./picker.view.setlabel) | *(Deprecated)* |\n| [`setMimeTypes(mimeTypes)`](./picker.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. |\n| [`setQuery(query)`](./picker.view.setquery) | For views involving searches, prepopulate the search query with these terms. |"]]