public interface ShutterManager
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoShutter()
Return true if autoshutter is enabled.
|
java.lang.String |
getCurrentShutter()
Return the current shutter device.
|
boolean |
getShutter()
Return whether or not the shutter is currently open.
|
java.util.List<java.lang.String> |
getShutterDevices()
Return a list of device names of devices that can be used as shutter
devices.
|
void |
setAutoShutter(boolean isAuto)
Turn autoshutter on or off.
|
boolean |
setShutter(boolean isOpen)
Open or close the shutter.
|
boolean setShutter(boolean isOpen) throws java.lang.Exception
isOpen
- if true, the shutter will be opened, otherwise it will be
closed.java.lang.Exception
- if there was a problem setting the shutter state.boolean getShutter() throws java.lang.Exception
java.lang.Exception
- if there was a problem getting the shutter state.java.util.List<java.lang.String> getShutterDevices()
java.lang.String getCurrentShutter() throws java.lang.Exception
java.lang.Exception
- if there was a problem getting the shutter device.void setAutoShutter(boolean isAuto) throws java.lang.Exception
isAuto
- if true, then autoshutter is enabled, otherwise it will be
disabled.java.lang.Exception
- if there was an error setting autoshutter or closing
the shutter.boolean getAutoShutter()