Google is committed to advancing racial equity for Black communities. See how.

Request Creation and Submission

Default requests

To construct default capture requests, call ICameraDeviceSession::constructDefaultRequestSettings().

Request submission

To submit camera capture requests, call ICameraDeviceSession::processCaptureRequest().

Miscellaneous methods

Request/result message queues

Camera capture result and request IPC overhead can be further optimized with fast message queues. Call the ICameraDeviceSession::getCaptureRequestMetadataQueue() and ICameraDeviceSession::getCaptureResultMetadataQueue() methods to query the corresponding queues.

Flushing requests

To flush any pending capture requests, call ICameraDeviceSession::flush().