|
Bartosz Firyn (SarXos) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.sarxos.webcam.WebcamLock
public class WebcamLock
This class is used as a global (system) lock preventing other processes from using the same camera while it's open.
| Method Summary | |
|---|---|
boolean |
isLocked()
Check if webcam is locked. |
void |
lock()
Lock webcam. |
void |
unlock()
Unlock webcam. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void lock()
public void unlock()
public boolean isLocked()
|
Bartosz Firyn (SarXos) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||