public class IpCamDriver extends Object implements com.github.sarxos.webcam.WebcamDriver, com.github.sarxos.webcam.WebcamDiscoverySupport
| Constructor and Description |
|---|
IpCamDriver() |
IpCamDriver(boolean scanning) |
IpCamDriver(IpCamStorage storage) |
IpCamDriver(IpCamStorage storage,
boolean scanning) |
| Modifier and Type | Method and Description |
|---|---|
List<com.github.sarxos.webcam.WebcamDevice> |
getDevices() |
long |
getScanInterval() |
long |
getScanTimeout() |
boolean |
isScanPossible() |
boolean |
isThreadSafe() |
void |
register(IpCamDevice device) |
void |
setScanInterval(long scanInterval)
Set new scan interval.
|
void |
setScanPossible(boolean scanning)
Set discovery scanning possible.
|
void |
setScanTimeout(long scanTimeout)
Set new scan timeout.
|
String |
toString() |
void |
unregister(IpCamDevice device) |
public IpCamDriver()
public IpCamDriver(boolean scanning)
public IpCamDriver(IpCamStorage storage)
public IpCamDriver(IpCamStorage storage, boolean scanning)
public List<com.github.sarxos.webcam.WebcamDevice> getDevices()
getDevices in interface com.github.sarxos.webcam.WebcamDriverpublic void register(IpCamDevice device)
public void unregister(IpCamDevice device)
public boolean isThreadSafe()
isThreadSafe in interface com.github.sarxos.webcam.WebcamDriverpublic long getScanInterval()
getScanInterval in interface com.github.sarxos.webcam.WebcamDiscoverySupportpublic void setScanInterval(long scanInterval)
scanInterval - public boolean isScanPossible()
isScanPossible in interface com.github.sarxos.webcam.WebcamDiscoverySupportpublic void setScanPossible(boolean scanning)
scanning - public long getScanTimeout()
public void setScanTimeout(long scanTimeout)
scanTimeout - the scan timeout in millisecondsCopyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.