public class WebcamDiscoveryEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
static int |
ADDED
Event type informing about newly connected webcam.
|
static int |
REMOVED
Event type informing about lately disconnected webcam.
|
Constructor and Description |
---|
WebcamDiscoveryEvent(Webcam webcam,
int type)
Create new webcam discovery event.
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
Return event type (webcam connected / disconnected)
|
Webcam |
getWebcam()
Return the webcam which has been found or removed.
|
getSource, toString
public static final int ADDED
public static final int REMOVED
public WebcamDiscoveryEvent(Webcam webcam, int type)
Copyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.