public class WebcamDiscoveryEvent
extends java.util.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.
|
public static final int ADDED
public static final int REMOVED
Copyright © 2012-2018 Bartosz Firyn (SarXos). All Rights Reserved.