class AddBufferCollection2

Defined at line 89 of file fidling/gen/sdk/fidl/fuchsia.images/fuchsia.images/cpp/fidl/fuchsia.images/cpp/markers.h

Adds a BufferCollection resource to the image pipe.

The producer is expected to set constraints on this resource for images added

via `AddImage()`. The consumer can set its constraints on

`buffer_collection_token` before or after. Note that the buffers won't be

allocated until all BufferCollectionToken instances are used to set

constraints, on both the producer and consumer side. See collection.fidl for

details.

The following errors will cause the connection to be closed:

- `buffer_collection_id` is already registered

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal