Megacool Unity
TheUnityinterfacetotheMegacoolSDK
Public Member Functions | Public Attributes | Properties | List of all members
MegacoolShareConfig Struct Reference

Pass to Megacool.Share(MegacoolShareConfig) to configure how shares are made. More...

Public Member Functions

string DataSerialized ()
 
string UrlString ()
 

Public Attributes

Dictionary< string, string > Data
 Set extra share data that will be present on the received MegacoolShare. More...
 
Uri Url
 Customize the link shared. More...
 

Properties

string RecordingId [get, set]
 Which recording to share. More...
 
string FallbackImage [get, set]
 Path to a fallback image in the case the given recording doesn't exist. More...
 

Detailed Description

Pass to Megacool.Share(MegacoolShareConfig) to configure how shares are made.

Member Data Documentation

◆ Data

Dictionary<string, string> MegacoolShareConfig.Data

Set extra share data that will be present on the received MegacoolShare.

This has to be JSON serializable.

◆ Url

Uri MegacoolShareConfig.Url

Customize the link shared.

Note that only the path and query parameters are actually included in the shared link, thus this should be a relative URL of the form "/some/path?key=value".

Property Documentation

◆ FallbackImage

string MegacoolShareConfig.FallbackImage
getset

Path to a fallback image in the case the given recording doesn't exist.

Path to a fallback image, relative to the StreamingAssets directory.

◆ RecordingId

string MegacoolShareConfig.RecordingId
getset

Which recording to share.

The recording identifier.


The documentation for this struct was generated from the following file: