Interface UltrasoundUpdateListener
- All Known Implementing Classes:
- MobileClient, TestContinuous
- public interface UltrasoundUpdateListener
This interface provides a means by which the UltrasoundListener class
can notify external applications of ultrasound detections. Any
external class that uses the UltrasoundListener class must supply it
with a reference to an object that implements this
UltrasoundUpdateListener interface. Whenever the UltrasoundListener
class detects ultrasound, it notifies the class that implements this
interface.
Method Summary |
void |
ultrasoundDetected(long timeDetected)
This method is called by the UltrasoundListener class when
ultrasound is detected. |
ultrasoundDetected
public void ultrasoundDetected(long timeDetected)
- 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.
- Parameters:
timeDetected
- The time (in milliseconds since January 1,
1970) at which ultrasound was detected.