class Control
Defined at line 1432 of file fidling/gen/sdk/fidl/fuchsia.camera/fuchsia.camera/hlcpp/fuchsia/camera/cpp/fidl.h
These are the original interfaces, which are being used for compatibility.
The names are preserved from the ones in camera.h for porting ease.
Public Members
static const char[] Name_
Public Methods
void ~Control ()
void GetFormats (uint32_t index, GetFormatsCallback callback)
Get the available format types for this device
NOTE: The formats are paginated to `MAX_FORMATS_PER_RESPONSE`, multiple
GetFormats need to be issued until total_format_count are received
void CreateStream (::fuchsia::sysmem::BufferCollectionInfo buffer_collection, ::fuchsia::camera::FrameRate rate, ::fidl::InterfaceRequest< ::fuchsia::camera::Stream> stream, ::zx::eventpair stream_token)
Sent by the client to indicate desired stream characteristics.
If setting the format is successful, the stream request will be honored.
The stream token is used to provide additional control over the interface from the
Camera Manager. The driver provides the guarantee that:
1) If the stream token receives the `PEER_CLOSED` event, the driver will close
the stream.
2) If the Stream interface is closed, the driver will close the eventpair.
void GetDeviceInfo (GetDeviceInfoCallback callback)