1# Class (FileSelectorParam) 2 3Implements the **FileSelectorParam** object to obtain files. For details about the sample code, see [onShowFileSelector](./arkts-basic-components-web-events.md#onshowfileselector9). 4 5> **NOTE** 6> 7> - The initial APIs of this component are supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version. 8> 9> - The initial APIs of this class are supported since API version 9. 10> 11> - You can preview how this component looks on a real device, but not in DevEco Studio Previewer. 12 13## constructor<sup>9+</sup> 14 15constructor() 16 17Constructs a **FileSelectorParam**. 18 19**System capability**: SystemCapability.Web.Webview.Core 20 21## getTitle<sup>9+</sup> 22 23getTitle(): string 24 25Obtains the title of this file selector. 26 27**System capability**: SystemCapability.Web.Webview.Core 28 29**Return value** 30 31| Type | Description | 32| ------ | ---------- | 33| string | Title of the file selector.| 34 35## getMode<sup>9+</sup> 36 37getMode(): FileSelectorMode 38 39Obtains the mode of the file selector. 40 41**System capability**: SystemCapability.Web.Webview.Core 42 43**Return value** 44 45| Type | Description | 46| ---------------------------------------- | ----------- | 47| [FileSelectorMode](./arkts-basic-components-web-e.md#fileselectormode9) | Mode of the file selector.| 48 49## getAcceptType<sup>9+</sup> 50 51getAcceptType(): Array\<string\> 52 53Obtains the file filtering type. 54 55**System capability**: SystemCapability.Web.Webview.Core 56 57**Return value** 58 59| Type | Description | 60| --------------- | --------- | 61| Array\<string\> | File filtering type.| 62 63## isCapture<sup>9+</sup> 64 65isCapture(): boolean 66 67Checks whether multimedia capabilities are invoked. 68 69**System capability**: SystemCapability.Web.Webview.Core 70 71**Return value** 72 73| Type | Description | 74| ------- | ------------ | 75| boolean | Whether multimedia capabilities are invoked.<br>The value **true** indicates that multimedia capabilities are invoked, and **false** indicates the opposite.| 76 77## getMimeTypes<sup>18+</sup> 78 79getMimeTypes(): Array\<string\> 80 81Obtains the MIME type of a file. 82 83**System capability**: SystemCapability.Web.Webview.Core 84 85**Return value** 86 87| Type | Description | 88| --------------- | --------- | 89| Array\<string\> | MIME type of a file.| 90