Microphone.End
static function End(deviceName: string): void;
Parameters

deviceName The name of the device.
Description

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