1# Class (MediaSourceInfo) 2 3Implements a **MediaSourceInfo** object to provide the information about the media source. 4 5> **NOTE** 6> 7> - The initial APIs of this module are supported since API version 9. 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 12. 10> 11> - You can preview how this component looks on a real device, but not in DevEco Studio Previewer. 12 13## Attributes 14 15**System capability**: SystemCapability.Web.Webview.Core 16 17| Name| Type| Mandatory| Description| 18|------|------|------|------| 19| type<sup>12+</sup> | [SourceType](./arkts-apis-webview-e.md#sourcetype12) | Yes| Type of the media source.| 20| source<sup>12+</sup> | string | Yes| Address of the media source.| 21| format<sup>12+</sup> | string | Yes| Format of the media source, which may be empty. You need to determine the format by yourself.| 22