class RequestFocus

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

Asks the server to transfer focus to the View specified by `view_ref`,

with the authority of the requestor ViewRef. Such a request may be

honored or denied.

If the request was honored, and it triggers a focus change, a FocusEvent

(with focused=true) is issued to the newly-focused View, and a

FocusEvent (with focused=false) is issued to the previous View.

The result callback indicates that the request was received and honored.

It does not guarantee that the requested View actually received a

FocusEvent in time.

The request may be denied for many reasons, for example:

- if `view_ref` is invalid

- if there is no View backed by `view_ref`

- if there is no requestor ViewRef accessible to Focuser

- if the requestor ViewRef lacks authority over `view_ref`'s View

- if `view_ref`'s View is not hittable or may not receive focus

etc. A denied request is indicated with a Error.

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