Interface IRecordingOperation
Encapsulates an operation that will attempt to perform some operation on a recording when Run() is called.
Namespace: Recolude.API.RecordingStorage
Assembly: Recolude.API.dll
Syntax
public interface IRecordingOperation
Methods
Error()
Any error that occured during the execution of the operation.
Declaration
string Error()
Returns
Type | Description |
---|---|
System.String | The error message. |
Finished()
Whether or not the operation is finished. Will return false if the operation has not even begun.
Declaration
bool Finished()
Returns
Type | Description |
---|---|
System.Boolean | Whether or not the operation is finished. |
Run()
Runs the operation. Because this could be something like a web request, it is advised to yield to this function inside a coroutine.
Declaration
IEnumerator Run()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | An IEnumerator to yield to inside a coroutine. |