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

com.github.sarxos.webcam.WebcamEvent 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).

There is a newer version: 0.3.12
Show newest version
package com.github.sarxos.webcam;

import java.util.EventObject;


/**
 * Webcam event.
 * 
 * @author Bartosz Firyn (SarXos)
 */
public class WebcamEvent extends EventObject {

	private static final long serialVersionUID = 7701762815832038598L;

	/**
	 * Webcam event.
	 * 
	 * @param w - webcam object
	 */
	public WebcamEvent(Webcam w) {
		super(w);
	}

	@Override
	public Webcam getSource() {
		return (Webcam) super.getSource();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy