public class StateCallback
extends java.lang.Object
| Constructor and Description |
|---|
StateCallback(CameraControllerApi2 cameraController)
Constructor, if not already done here we instiate the state callback
|
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Semaphore |
getCameraOpenCloseLock()
Returns the semaphore to handle correctly the closing of the app
|
android.hardware.camera2.CameraDevice.StateCallback |
getStateCallback()
Returns the stateCallback
|
public StateCallback(CameraControllerApi2 cameraController)
cameraController - public android.hardware.camera2.CameraDevice.StateCallback getStateCallback()
public java.util.concurrent.Semaphore getCameraOpenCloseLock()