Megacool Unity
TheUnityinterfacetotheMegacoolSDK
Properties | List of all members
MegacoolShareConfig Class Reference

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

Properties

string RecordingId [get, set]
 Which recording to share. More...
 
string Message [get, set]
 Set the text to be shared of different channels. More...
 
MegacoolSharingStrategy Strategy [get, set]
 Set whether to prioritize media or link when sharing to channels that support either but not both. More...
 
string FallbackImage [get, set]
 Path to a fallback image in the case the given recording doesn't exist. More...
 
Dictionary< string, string > Data [get, set]
 Set extra share data that will be present on the received MegacoolShare. More...
 
Uri Url [get, set]
 Customize the link shared. More...
 

Detailed Description

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

Property Documentation

◆ Data

Dictionary<string, string> MegacoolShareConfig.Data
getset

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

This has to be JSON serializable.

◆ 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.

◆ Message

string MegacoolShareConfig.Message
getset

Set the text to be shared of different channels.

The text should be set before Share() is called.

The sharing text.

◆ RecordingId

string MegacoolShareConfig.RecordingId
getset

Which recording to share.

The recording identifier.

◆ Strategy

MegacoolSharingStrategy MegacoolShareConfig.Strategy
getset

Set whether to prioritize media or link when sharing to channels that support either but not both.

The sharing strategy to use

◆ Url

Uri MegacoolShareConfig.Url
getset

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".


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