Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Microphone.IsRecording

static function IsRecording(deviceName: string): bool;
static bool IsRecording(string deviceName);
static def IsRecording(deviceName as string) as bool

Parameters

deviceNameThe 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.