class ViewBoundProtocols

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

The protocol endpoints bound to a Flatland ViewCreationToken. These protocols operate on the

View that ViewCreationToken created in the Flatland session.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void ViewBoundProtocols ()
void ViewBoundProtocols (ViewBoundProtocols && other)
const ::fidl::InterfaceRequest< ::fuchsia::ui::views::ViewRefFocused> & view_ref_focused ()

Learn when a View gains focus.

Server-bound ViewRef. The [`view_ref_focused`] client does not specify the ViewRef

explicitly; instead, the server implementation uses the ViewRef used in View creation for

reporting focus movement on/off this View.

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

bool has_view_ref_focused ()

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

::fidl::InterfaceRequest< ::fuchsia::ui::views::ViewRefFocused> * mutable_view_ref_focused ()

Learn when a View gains focus.

Server-bound ViewRef. The [`view_ref_focused`] client does not specify the ViewRef

explicitly; instead, the server implementation uses the ViewRef used in View creation for

reporting focus movement on/off this View.

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

void clear_view_ref_focused ()

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

void clear_view_focuser ()

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

void clear_touch_source ()

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

const ::fidl::InterfaceRequest< ::fuchsia::ui::pointer::MouseSource> & mouse_source ()

Receive mouse events that are associated with a View.

Mutually exclusive with `mouse_source_v2`. Providing both will result in

a `FlatlandError.BAD_OPERATION` error and channel closure.

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

bool has_mouse_source ()

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

::fidl::InterfaceRequest< ::fuchsia::ui::pointer::MouseSource> * mutable_mouse_source ()

Receive mouse events that are associated with a View.

Mutually exclusive with `mouse_source_v2`. Providing both will result in

a `FlatlandError.BAD_OPERATION` error and channel closure.

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

void clear_mouse_source ()

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

void clear_touch_source_v2 ()

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

const ::fidl::InterfaceRequest< ::fuchsia::ui::pointer::MouseSourceV2> & mouse_source_v2 ()

Receive mouse events that are associated with a View.

Mutually exclusive with `mouse_source`. Providing both will result in

a `FlatlandError.BAD_OPERATION` error and channel closure.

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

bool has_mouse_source_v2 ()

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

::fidl::InterfaceRequest< ::fuchsia::ui::pointer::MouseSourceV2> * mutable_mouse_source_v2 ()

Receive mouse events that are associated with a View.

Mutually exclusive with `mouse_source`. Providing both will result in

a `FlatlandError.BAD_OPERATION` error and channel closure.

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

void clear_mouse_source_v2 ()

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

ViewBoundProtocols & set_view_ref_focused (::fidl::InterfaceRequest< ::fuchsia::ui::views::ViewRefFocused> _value)
ViewBoundProtocols & set_view_focuser (::fidl::InterfaceRequest< ::fuchsia::ui::views::Focuser> _value)
ViewBoundProtocols & set_touch_source (::fidl::InterfaceRequest< ::fuchsia::ui::pointer::TouchSource> _value)
ViewBoundProtocols & set_mouse_source (::fidl::InterfaceRequest< ::fuchsia::ui::pointer::MouseSource> _value)
ViewBoundProtocols & set_touch_source_v2 (::fidl::InterfaceRequest< ::fuchsia::ui::pointer::TouchSourceV2> _value)
ViewBoundProtocols & set_mouse_source_v2 (::fidl::InterfaceRequest< ::fuchsia::ui::pointer::MouseSourceV2> _value)
const ::fidl::InterfaceRequest< ::fuchsia::ui::views::Focuser> & view_focuser ()

Enable a View to request focus transfer to a child (target) View.

Server-bound ViewRef. The [`view_focuser`] client does not specify the "requester" ViewRef

explicitly, only the "target" ViewRef. Instead, the server implementation uses the ViewRef

used in View creation as the "requester" ViewRef.

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

bool has_view_focuser ()

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

::fidl::InterfaceRequest< ::fuchsia::ui::views::Focuser> * mutable_view_focuser ()

Enable a View to request focus transfer to a child (target) View.

Server-bound ViewRef. The [`view_focuser`] client does not specify the "requester" ViewRef

explicitly, only the "target" ViewRef. Instead, the server implementation uses the ViewRef

used in View creation as the "requester" ViewRef.

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

const ::fidl::InterfaceRequest< ::fuchsia::ui::pointer::TouchSource> & touch_source ()

Receive touch events that are associated with a View.

Mutually exclusive with `touch_source_v2`. Providing both will result in

a `FlatlandError.BAD_OPERATION` error and channel closure.

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

bool has_touch_source ()

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

::fidl::InterfaceRequest< ::fuchsia::ui::pointer::TouchSource> * mutable_touch_source ()

Receive touch events that are associated with a View.

Mutually exclusive with `touch_source_v2`. Providing both will result in

a `FlatlandError.BAD_OPERATION` error and channel closure.

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

const ::fidl::InterfaceRequest< ::fuchsia::ui::pointer::TouchSourceV2> & touch_source_v2 ()

Receive touch events that are associated with a View.

Mutually exclusive with `touch_source`. Providing both will result in

a `FlatlandError.BAD_OPERATION` error and channel closure.

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

bool has_touch_source_v2 ()

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

::fidl::InterfaceRequest< ::fuchsia::ui::pointer::TouchSourceV2> * mutable_touch_source_v2 ()

Receive touch events that are associated with a View.

Mutually exclusive with `touch_source`. Providing both will result in

a `FlatlandError.BAD_OPERATION` error and channel closure.

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

void ~ViewBoundProtocols ()
ViewBoundProtocols & operator= (ViewBoundProtocols && other)
::std::unique_ptr<ViewBoundProtocols> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ViewBoundProtocols * _value, size_t _offset)
zx_status_t Clone (ViewBoundProtocols * _result)