class Manager
Defined at line 1653 of file fidling/gen/sdk/fidl/fuchsia.camera/fuchsia.camera/hlcpp/fuchsia/camera/cpp/fidl.h
The Camera Manager grants access to individual or sets of cameras
1) You request the list of cameras, which gives you camera descriptions
2) You request the list of formats available for the camera to which you
wish to connect.
3) You request a Stream interface using CreateStream.
Public Members
static const char[] Name_
Public Methods
void ~Manager ()
void GetDevices (GetDevicesCallback callback)
Returns a list of all the video devices that are currently plugged in
and enumerated. The camera_id field of the DeviceInfo is used to specify
a device in GetFormats, GetStream and GetStreamAndBufferCollection.
void GetFormats (uint64_t camera_id, uint32_t index, GetFormatsCallback callback)
Get all the available formats for a camera.
`camera_id` is obtained from a DeviceInfo returned by GetDevices.
void CreateStream (::fuchsia::camera::VideoStream request, ::fuchsia::sysmem::BufferCollectionInfo buffer_info, ::fidl::InterfaceRequest< ::fuchsia::camera::Stream> stream, ::zx::eventpair client_token)
Create a Stream with the specified access rights. This may not succeed.
If it does succeed, the Stream will have the rights indicated.
`buffer_info` contains a set of buffers to be used with the Stream.
This is being deprecated - please use CreateStreamV2.
void CreateStreamV2 (::fuchsia::camera::VideoStreamV2 request, ::fuchsia::sysmem::BufferCollectionInfo buffer_info, ::fidl::InterfaceRequest< ::fuchsia::camera::Stream> stream, ::zx::eventpair client_token)
Create a Stream with the specified access rights. This may not succeed.
If it does succeed, the Stream will have the rights indicated.
`buffer_info` contains a set of buffers to be used with the Stream.