Megacool Unity
The Unity interface to the Megacool SDK
Classes | Public Member Functions | List of all members
MegacoolGifPreview Class Reference

Preview a recording before share. More...

Inheritance diagram for MegacoolGifPreview:

Public Member Functions

void StartPreview (string recordingIdentifier=default(string))
 Starts previewing the given recording. More...
 
void StopPreview ()
 Stops the preview. More...
 
int GetNumberOfFrames ()
 Get the number of frames available in the recording. Only available after calling StartPreview and before calling StopPreview. More...
 

Detailed Description

Preview a recording before share.

Member Function Documentation

◆ GetNumberOfFrames()

int MegacoolGifPreview.GetNumberOfFrames ( )
inline

Get the number of frames available in the recording. Only available after calling StartPreview and before calling StopPreview.

Use Megacool.Instance.GetNumberOfFrames() to get the number available without creating a preview.

Returns
If StartPreview is called, the number of frames available in the preview, otherwise -1.

◆ StartPreview()

void MegacoolGifPreview.StartPreview ( string  recordingIdentifier = default(string))
inline

Starts previewing the given recording.

Parameters
recordingIdentifierRecording identifier.

◆ StopPreview()

void MegacoolGifPreview.StopPreview ( )
inline

Stops the preview.


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