edu.berkeley.guir.ptk.notification
Class AudioInterruption

java.lang.Object
  extended byedu.berkeley.guir.ptk.PTK
      extended byedu.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.


Field Summary
static float AUDIO_THRESHOLD
           
 float volume
           
 
Fields inherited from class edu.berkeley.guir.ptk.PTK
debug, MAX_DEBUG, MED_DEBUG, MIN_DEBUG, NO_DEBUG
 
Constructor Summary
AudioInterruption()
           
 
Method Summary
 boolean checkInterruptibility()
           
static void main(java.lang.String[] argv)
           
 
Methods inherited from class edu.berkeley.guir.ptk.PTK
getMAX, getMED, getMIN, getNO, printDebug, printDebug, printError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

volume

public float volume

AUDIO_THRESHOLD

public static float AUDIO_THRESHOLD
Constructor Detail

AudioInterruption

public AudioInterruption()
Method Detail

checkInterruptibility

public boolean checkInterruptibility()

main

public static void main(java.lang.String[] argv)