All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sarxos.webcam.WebcamListener Maven / Gradle / Ivy

Go to download

This library allows you to use your PC webcam, IP or network cameras directly from Java. It's compatible with most operating systems (Windows, Linux, MacOS).

The newest version!
package com.github.sarxos.webcam;

/**
 * Webcam listener.
 * 
 * @author Bartosz Firyn (SarXos)
 */
public interface WebcamListener {

	/**
	 * Webcam has been open.
	 * 
	 * @param we a webcam event
	 */
	void webcamOpen(WebcamEvent we);

	/**
	 * Webcam has been closed
	 * 
	 * @param we a webcam event
	 */
	void webcamClosed(WebcamEvent we);

	/**
	 * Webcam has been disposed
	 * 
	 * @param we a webcam event
	 */
	void webcamDisposed(WebcamEvent we);

	/**
	 * Webcam image has been obtained.
	 * 
	 * @param we a webcam event
	 */
	void webcamImageObtained(WebcamEvent we);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy