Interface IRecordingStorage
Interface for dealing with any type of storage that binary recordings can be saved to.
These calls may block so it is in your best interest to wrap them in a coroutine to prevent blocking the main thread.
Namespace: Recolude.API.RecordingStorage
Assembly: Recolude.API.dll
Syntax
public interface IRecordingStorage
Methods
DeleteRecording(String)
Attempts to delete the recording with the given ID.
Declaration
IDeleteRecordingOperation DeleteRecording(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | ID of the recording we want to delete. |
Returns
| Type | Description |
|---|---|
| IDeleteRecordingOperation | The recording who's ID matches what was passed in. |
LoadRecording(String)
Attempts to load the recording with the given ID.
Declaration
ILoadRecordingOperation LoadRecording(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | ID of the recording we want to load. |
Returns
| Type | Description |
|---|---|
| ILoadRecordingOperation | The recording who's ID matches what was passed in. |
SaveRecording(IRecording)
Saves the recording and returns an ID to it for retrieval later
Declaration
ISaveRecordingOperation SaveRecording(IRecording recording)
Parameters
| Type | Name | Description |
|---|---|---|
| IRecording | recording | The recording to save. |
Returns
| Type | Description |
|---|---|
| ISaveRecordingOperation | ID to the recording to use for loading it. |