Class MediaParams
Represents the media payload used by custom update and custom share.
Inherited Members
Namespace: Meta.InstantGames
Assembly: Unity.Meta.InstantGames.Sdk.dll
Syntax
public class MediaParams : JsObjectConstructors
MediaParams(MediaContent, MediaContent)
Creates a new instance of MediaParams
Declaration
public MediaParams(MediaContent gif = null, MediaContent video = null)Parameters
| Type | Name | Description | 
|---|---|---|
| MediaContent | gif | if provided, the content should contain information for us to get the gif. | 
| MediaContent | video | if provided, the content should contain information for us to get the video. | 
Properties
Gif
if provided, the content should contain information for us to get the gif.
Declaration
public MediaContent Gif { get; }Property Value
| Type | Description | 
|---|---|
| MediaContent | 
Video
if provided, the content should contain information for us to get the video.
Declaration
public MediaContent Video { get; }Property Value
| Type | Description | 
|---|---|
| MediaContent |