Package: android.hardware.camera.device@3.3

ICameraDeviceSession

interface ICameraDeviceSession extends @3.2::ICameraDeviceSession

Camera device active session interface.

Obtained via ICameraDevice::open(), this interface contains the methods to configure and request captures from an active camera device.

Methods

configureStreams_3_3

configureStreams_3_3 (StreamConfiguration requestedConfiguration)
generates (Status status, @3.3::HalStreamConfiguration halConfiguration)

configureStreams_3_3:

Identical to@3.2::ICameraDeviceSession.configureStreams, except that:

- The output HalStreamConfiguration now contains an overrideDataspace field, to be used by the HAL to select a different dataspace for some use cases when dealing with the IMPLEMENTATION_DEFINED pixel format.

Clients may invoke either this method or@3.2::ICameraDeviceSession.configureStreams() for stream configuration.This method is recommended for clients to use since it provides more flexibility.

Details
Parameters
requestedConfiguration
Generates
status
halConfiguration