Enum RecordingTriggerType
Used for both 'Recording Start Trigger' and 'Recording Stop Trigger'. This enum is used to define the conditions under which recording starts or stops.
Namespace: Glitch9.IO.Audio
Assembly: Glitch9.IO.dll
Syntax
public enum RecordingTriggerType
Fields
| Name | Description |
|---|---|
| HoldKey | Starts when a specific key is held down. Stops when the key is released. |
| Manual | Starts when 'StartRecording()' is called via code. Stops when 'StopRecording()' is called via code. |
| ToggleKey | Starts when a specific key is pressed. Pressing the same key again stops the recording. |
| VoiceDetection | Automatically starts when sound is detected, and stops after a silence duration. |