Bartosz Firyn (SarXos)

com.github.sarxos.webcam
Class WebcamDiscoveryService

java.lang.Object
  extended by com.github.sarxos.webcam.WebcamDiscoveryService
All Implemented Interfaces:
Runnable

public class WebcamDiscoveryService
extends Object
implements Runnable


Method Summary
 List<Webcam> getWebcams(long timeout, TimeUnit tunit)
           
 boolean isRunning()
          Is discovery service running?
 void run()
           
 void start()
          Start discovery service.
 void stop()
          Stop discovery service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWebcams

public List<Webcam> getWebcams(long timeout,
                               TimeUnit tunit)
                        throws TimeoutException
Throws:
TimeoutException

run

public void run()
Specified by:
run in interface Runnable

stop

public void stop()
Stop discovery service.


start

public void start()
Start discovery service.


isRunning

public boolean isRunning()
Is discovery service running?

Returns:
True or false

Bartosz Firyn (SarXos)

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