template <>

class WireWeakSyncClientImpl

Defined at line 5800 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/cpp/fidl/fuchsia.camera3/cpp/wire_messaging.h

Public Methods

::fidl::WireResult< ::fuchsia_camera3::Stream::GetProperties> GetProperties ()

Gets the properties associated with this stream. The value returned is identical to the one

corresponding to this stream as returned by |Device.GetConfigurations|.

Allocates 104 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_camera3::Stream::GetProperties2> GetProperties2 ()

Gets the properties associated with this stream. The value returned is identical to the one

corresponding to this stream as returned by |Device.GetConfigurations|.

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_camera3::Stream::WatchCropRegion> WatchCropRegion ()

Returns the crop region if it has changed from a previously returned value, or is called by

a client for the first time. Frame callbacks received after receiving this callback reflect

the use of the new region. See SetCropRegion for a description of the region parameter.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_camera3::Stream::WatchResolution> WatchResolution ()

Returns the resolution if it has changed from a previously returned value, or is called by

a client for the first time. Frame callbacks received after receiving this callback reflect

the new resolution.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_camera3::Stream::WatchBufferCollection2> WatchBufferCollection2 ()

Returns when the server or any buffer negotiation participant (including the current client)

requires buffer renegotiation, and the current client is registered as a participant. Frame

callbacks received after receiving this callback apply to the newly negotiated collection.

Because the camera can output directly to these collections, each client should support

reading from a |fuchsia.sysmem.CoherencyDomain| of RAM, and set |ram_domain_supported| in

their |fuchsia.sysmem.BufferMemoryConstraints|.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_camera3::Stream::WatchBufferCollection> WatchBufferCollection ()

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_camera3::Stream::WatchOrientation> WatchOrientation ()

Returns the orientation if it has changed from a previously returned value, or is called by

a client for the first time. Frame callbacks received after receiving this callback reflect

the new orientation.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_camera3::Stream::GetNextFrame> GetNextFrame ()

See GetNextFrame2.

Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_camera3::Stream::GetNextFrame2> GetNextFrame2 ()

Request the next available frame for this stream that has not yet been acquired by the

current client. Multiple participating clients may concurrently hold the same frame. Returns

when the stream has completed populating the buffer and may be read by the client, provided

the number of unreleased buffers is less than the count provided via the most recently

negotiated buffer collection token. If a buffer renegotiation is in progress, this call will

return only after the negotiation is complete and a new collection is available.

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.