# Class (MediaSourceInfo) Implements a **MediaSourceInfo** object to provide the information about the media source. > **NOTE** > > - 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. > > - The initial APIs of this class are supported since API version 12. > > - You can preview how this component looks on a real device, but not in DevEco Studio Previewer. ## Attributes **System capability**: SystemCapability.Web.Webview.Core | Name| Type| Mandatory| Description| |------|------|------|------| | type12+ | [SourceType](./arkts-apis-webview-e.md#sourcetype12) | Yes| Type of the media source.| | source12+ | string | Yes| Address of the media source.| | format12+ | string | Yes| Format of the media source, which may be empty. You need to determine the format by yourself.|