This version of Unity is unsupported.

Microphone.IsRecording

Switch to Manual

Declaration

public static bool IsRecording(string deviceName);

Parameters

deviceName The name of the device.

Description

Query if a device is currently recording.

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.