Class MediaParams
Represents the media payload used by custom update and custom share.
Inherited Members
Namespace: Meta.InstantGames.v8
Assembly: Unity.Meta.InstantGames.Sdk.v8.dll
Syntax
public class MediaParams : JsObject
Constructors
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 |