2.2.3.2.7 PHONEHOOKSWITCHMODE_Constants
The PHONEHOOKSWITCHMODE_Constants are bit-flag constants that describe the microphone and speaker components of a hookswitch device.
Constant/value |
Description |
---|---|
PHONEHOOKSWITCHMODE_ONHOOK 0x00000001 |
The device's microphone and speaker are both on the hook. |
PHONEHOOKSWITCHMODE_MIC 0x00000002 |
The device's microphone is active; the speaker is mute. |
PHONEHOOKSWITCHMODE_SPEAKER 0x00000004 |
The device's speaker is active; the microphone is mute. |
PHONEHOOKSWITCHMODE_MICSPEAKER 0x00000008 |
The device's microphone and speaker are both active. |
PHONEHOOKSWITCHMODE_UNKNOWN 0x00000010 |
The device's hookswitch mode is currently unknown. |
These constants are used to provide an individual level of control over the microphone and speaker components of a phone device.