com.github.sarxos.webcam
Class WebcamMotionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.github.sarxos.webcam.WebcamMotionEvent
All Implemented Interfaces:
Serializable

public class WebcamMotionEvent
extends EventObject

Webcam detected motion event.

Author:
Bartosz Firyn (SarXos)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WebcamMotionEvent(WebcamMotionDetector detector, int strength)
          Create detected motion event.
 
Method Summary
 int getStrength()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebcamMotionEvent

public WebcamMotionEvent(WebcamMotionDetector detector,
                         int strength)
Create detected motion event.

Parameters:
detector -
strength -
Method Detail

getStrength

public int getStrength()
Returns:
Motion strength


Copyright © 2012 Bartosz Firyn (SarXos). All Rights Reserved.