class GetNextFrame

Defined at line 1307 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/markers.h

Following a successful call to [`Configure`], clients can call

GetNextFrame. This will populate a buffer with the most recent frame.

Clients should wait on the zx::event they pass for successful

completion of the screenshot. It is not guaranteed that the screenshot

will be completed by the time this function returns.

The requested image will be in the BufferCollection that the client set

up in the VMO at the index specified by buffer_id.

When ScreenCapture is used to provide a stream, the rate that the

client calls GetNextFrame will drive the frame rate.

Errors:

BAD_OPERATION if Configure was not called, or not called successfully

MISSING_ARGS if a required argument is not present

BUFFER_FULL if all buffers in the BufferCollection are in use. In this case, ReleaseFrame

must be called to make a buffer available before this function can be called successfully.

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