IsRecording(string)
Query if a device is currently recording.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AudioModule
public static bool IsRecording(string deviceName)
Parameters
The name of the device.
Returns
Type | Description |
|---|---|
| bool |
Remarks
If you pass a null or empty string for the device name then the default microphone will be used. You can get a list of available microphone devices from the _devices property.