template <>

class NaturalClientImpl

Defined at line 672 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/natural_messaging.h

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_camera2::Stream::SetRegionOfInterest> SetRegionOfInterest (const ::fidl::Request< ::fuchsia_camera2::Stream::SetRegionOfInterest> & request)

Data operations

This is used by clients to provide inputs for region of interest

selection.

Inputs are the x

&

y coordinates for the new bounding box.

For streams which do not support smart framing, this would

return an error.

::fidl::internal::NaturalThenable< ::fuchsia_camera2::Stream::SetImageFormat> SetImageFormat (const ::fidl::Request< ::fuchsia_camera2::Stream::SetImageFormat> & request)

Change the image format of the stream. This is called when clients want

to dynamically change the resolution of the stream while the streaming is

is going on.

::fidl::internal::NaturalThenable< ::fuchsia_camera2::Stream::GetImageFormats> GetImageFormats ()

Get the image formats that this stream supports.

::fidl::internal::NaturalThenable< ::fuchsia_camera2::Stream::GetBuffers2> GetBuffers2 ()

Returns a token to the buffers that are being used to output frames on the stream. The

token is `dispensable` which means it doesn't have to be turned in to sysmem for allocation

to complete. This also means that any SetConstraints call on the returned token can't

conflict with the constraints in the `StreamConfig`, otherwise attempts to wait for buffers

on the token will fail.

::fidl::internal::NaturalThenable< ::fuchsia_camera2::Stream::GetBuffers> GetBuffers ()
::fit::result< ::fidl::OneWayError> Start ()

Control Operations

Starts the streaming of frames.

::fit::result< ::fidl::OneWayError> Stop ()

Stops the streaming of frames.

::fit::result< ::fidl::OneWayError> ReleaseFrame (const ::fidl::Request< ::fuchsia_camera2::Stream::ReleaseFrame> & request)

Unlocks the specified frame, allowing the driver to reuse the memory.

::fit::result< ::fidl::OneWayError> AcknowledgeFrameError ()

Provides flow control for receiving frame errors. See OnFrameAvailable comment.