Class responsible for sound detection using the device's microphone.
Sets a listener to receive sound detection events.
Starts the sound detection process with the specified monitor interval, sampling rate, and volume threshold.
Stops the sound detection process and releases the resources used by the AudioRecord.