Created
August 31, 2018 20:05
-
-
Save owahltinez/4a9bd5bf03bb1a631fe7444087ca13e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val session: CameraCaptureSession = ... // from CameraCaptureSession.StateCallback | |
val captureRequest = session.device.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW) | |
captureRequest.addTarget(previewSurface) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment