Bartosz Firyn (SarXos)

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

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
equals, 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

Bartosz Firyn (SarXos)

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