Interface IPlaybackCustomEventHandler
Implement this interface if you want your class to be used for handeling custom events that are contained in the recording.
Namespace: Recolude.Core.Playback
Assembly: Recolude.Core.dll
Syntax
public interface IPlaybackCustomEventHandler
Methods
OnCustomEvent(IRecording, TimeMovementDetails, Capture<CustomEvent>)
Called while the playback of a recording is occuring when a custom event occurs.
Declaration
void OnCustomEvent(IRecording recording, TimeMovementDetails movementDetails, Capture<CustomEvent> customEvent)
Parameters
Type | Name | Description |
---|---|---|
IRecording | recording | The recording the event is related too. |
TimeMovementDetails | movementDetails | Details on the time transpired during the frame this event fired. |
Capture<CustomEvent> | customEvent | The event that occurred. |