Class TestContinuous

java.lang.Object
  extended byTestContinuous
All Implemented Interfaces:
UltrasoundUpdateListener

public class TestContinuous
extends java.lang.Object
implements UltrasoundUpdateListener


Field Summary
protected  UltrasoundListener usl
           
 
Constructor Summary
TestContinuous()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void ultrasoundDetected(long timeDetected)
          This method is called by the UltrasoundListener class when ultrasound is detected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

usl

protected UltrasoundListener usl
Constructor Detail

TestContinuous

public TestContinuous()
Method Detail

ultrasoundDetected

public void ultrasoundDetected(long timeDetected)
Description copied from interface: UltrasoundUpdateListener
This method is called by the UltrasoundListener class when ultrasound is detected. A timestamp describing the time at which the ultrasound was detected is passed into this method.

Specified by:
ultrasoundDetected in interface UltrasoundUpdateListener
Parameters:
timeDetected - The time (in milliseconds since January 1, 1970) at which ultrasound was detected.

main

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