Class MediaContent
Specify how we could get the content for the media.
Important: This type is deprecated and will be removed in a future version.
Inherited Members
Namespace: Meta.InstantGames
Assembly: Unity.Meta.InstantGames.Sdk.dll
Syntax
public class MediaContent : JsObject
Constructors
MediaContent()
Construct an instance of MediaContent
Declaration
public MediaContent()
MediaContent(string)
Creates a new instance of MediaContent
Declaration
public MediaContent(string url)
Parameters
| Type | Name | Description |
|---|---|---|
| string | url | URL pointing to the media asset stored on the developer's server. |
Properties
Url
URL pointing to the media asset stored on the developer's server.
Declaration
public string Url { get; }
Property Value
| Type | Description |
|---|---|
| string |