class BindSharedCollection

Defined at line 118 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/markers.h

Convert a [`fuchsia.sysmem2/BufferCollectionToken`] into a

[`fuchsia.sysmem2/BufferCollection`].

At the time of sending this message, the buffer collection hasn't yet

been populated with buffers - the participant must first also send

[`fuchsia.sysmem2/BufferCollection.SetConstraints`] via the

`BufferCollection` client end.

All `BufferCollectionToken`(s) duplicated from a root

`BufferCollectionToken` (created via `AllocateSharedCollection`) must be

"turned in" via `BindSharedCollection` (or `Release`ed), and all

existing `BufferCollection` client ends must have sent `SetConstraints`

before the logical BufferCollection will be populated with buffers (or

will fail if the overall set of constraints can't be satisfied).

+ request `token` The client endpoint of a channel whose server end was

sent to sysmem using

[`fuchsia.sysmem2/Allocator.AllocateSharedCollection`] or whose server

end was sent to sysmem using

[`fuchsia.sysmem2/BufferCollectionToken.Duplicate`]. The token is

being "turned in" in exchange for a

[`fuchsia.sysmem2/BufferCollection`].

+ request `buffer_collection_request` The server end of a

[`fuchsia.sysmem2/BufferCollection`] channel. The sender retains the

client end. The `BufferCollection` channel is a single participant's

connection to the logical buffer collection. Typically there will be

other participants with their own `BufferCollection` channel to the

logical buffer collection.

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