template <typename D, typename Base = internal::base_mixin>
class CameraSensor2Protocol
Defined at line 113 of file fidling/gen/sdk/banjo/fuchsia.hardware.camera.sensor/fuchsia.hardware.camera.sensor/banjo/cpp/fuchsia/hardware/camera/sensor/cpp/banjo.h
Exposes a product-agnostic interface to the camera's sensor.
Allows clients to get and set sensor constraints, sensor mode,
and its dynamic operating state.
Most methods provide a `zx.Status` return value. This can be:
ZX_OK - The operation was successful.
ZX_ERR_INTERNAL - The sensor has not been initialized or has encountered an
otherwise unspecified error.
ZX_ERR_NOT_SUPPORTED - The operation is not supported on the current device.
ZX_ERR_INVALID_ARGS - Invalid args for this operation.
ZX_ERR_OUT_OF_RANGE - Args fall outside of min/max constraints.
ZX_ERR_BUFFER_TOO_SMALL - Buffer provided cannot hold all required data.
ZX_ERR_IO_NOT_PRESENT - There is no sensor device present or bound.
Protected Members
camera_sensor2_protocol_ops camera_sensor2_protocol_ops_
Public Methods
void CameraSensor2Protocol<D, Base> ()
Defined at line 115 of file fidling/gen/sdk/banjo/fuchsia.hardware.camera.sensor/fuchsia.hardware.camera.sensor/banjo/cpp/fuchsia/hardware/camera/sensor/cpp/banjo.h