Constructor
new Microphone()
This class cannot be instantiated.
- Since:
- 11.7.0
Extends
Members
(static) volume :number
Microphone's input volume level.
Type:
- number
- Since:
- 11.7.0
deviceID :String
Unique device ID given by operating system.
Type:
- String
- Since:
- 11.7.0
- Inherited From:
hardwareID :String
Unique hardwareID of device.
Type:
- String
- Since:
- 11.7.0
- Inherited From:
isSelected :Boolean
Indicates whether this device is selected or not.
Type:
- Boolean
- Since:
- 11.7.0
- Inherited From:
name :String
Name of the device.
Type:
- String
- Since:
- 11.7.0
- Inherited From:
vendorID :String
Unique ID for device given by vendor.
Type:
- String
- Since:
- 11.7.0
- Inherited From:
Methods
(static) setVolume(volume, errorHandleropt)
Sets a new input volume level of the microphone.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
volume |
Number | New volume level that will be set. Allowed values are 0 - 100. | |
errorHandler |
function |
<optional> |
Called if error has occurred in add-on. |
- Since:
- 11.7.0