edu.berkeley.guir.ptk.notification
Class AudioInterruption
java.lang.Object
edu.berkeley.guir.ptk.PTK
edu.berkeley.guir.ptk.notification.AudioInterruption
- public class AudioInterruption
- extends PTK
Note: This class is not currently used.
Senses audio around the output application and when queried, returns a true/
false indication of whether or not the volume is above a certain threshold.
When the volume is above this threshold, it indicates that the application user
may be busy (not interruptible), so the application's outputs should decrease
the interruption of their notifications.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
volume
public float volume
AUDIO_THRESHOLD
public static float AUDIO_THRESHOLD
AudioInterruption
public AudioInterruption()
checkInterruptibility
public boolean checkInterruptibility()
main
public static void main(java.lang.String[] argv)