Megacool Unity
The Unity interface to the Megacool SDK
Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
MegacoolConfiguration Class Reference

Global configuration of the SDK. More...

Inheritance diagram for MegacoolConfiguration:

Public Member Functions

string GetAndroidLaunchActivity ()
 
Uri CustomBaseUrlOrDefault ()
 
string CustomBaseUrl ()
 

Public Attributes

string appIdentifier
 
string appConfigAndroid
 
string appConfigIos
 
string sharingText = DEFAULT_SHARE_MESSAGE
 
MegacoolSharingStrategy sharingStrategy = DEFAULT_SHARING_STRATEGY
 
string sharingFallback
 
string shareModalTitle = DEFAULT_SHARE_MODAL_TITLE
 
bool universalLinksIOS = true
 
bool universalLinksAndroid = true
 
string baseUrl
 
string schemeIOS
 
string schemeAndroid
 
bool androidReferrals = true
 
int maxFrames = DEFAULT_MAX_FRAMES
 
double peakLocation = DEFAULT_PEAK_LOCATION
 
int recordingFrameRate = DEFAULT_FRAME_RATE
 
int playbackFrameRate = DEFAULT_PLAYBACK_FRAME_RATE
 
int lastFrameDelay = DEFAULT_LAST_FRAME_DELAY
 
string lastFrameOverlay
 
bool debugMode = false
 
string customAndroidActivity = null
 

Static Public Attributes

const int DEFAULT_MAX_FRAMES = 50
 
const int DEFAULT_FRAME_RATE = 10
 
const int DEFAULT_LAST_FRAME_DELAY = 1000
 
const double DEFAULT_PEAK_LOCATION = 0.7
 
const int DEFAULT_PLAYBACK_FRAME_RATE = 12
 
const MegacoolOverflowStrategy DEFAULT_OVERFLOW_STRATEGY = MegacoolOverflowStrategy.LATEST
 
const MegacoolSharingStrategy DEFAULT_SHARING_STRATEGY = MegacoolSharingStrategy.LINK
 
const string DEFAULT_RECORDING_ID = ""
 
const string DEFAULT_SHARE_MESSAGE = "Check out this game I'm playing!"
 
const string DEFAULT_SHARE_MODAL_TITLE = "Share GIF"
 

Properties

static MegacoolConfiguration Instance [get]
 

Detailed Description

Global configuration of the SDK.

This is the configuration available through the configuration panel in the Editor, but you can also set the fields on the object directly from code if desired. If configured from code it has to be set before the call to Megacool.Start(), after that the SDK can be configured with the individual setters on the Megacool object.


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