class ViewBoundProtocols

Defined at line 2704 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 2715 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 2719 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 2728 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 2736 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 2770 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 2800 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 2811 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 2815 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 2822 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 2830 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 2860 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 2871 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 2875 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 2882 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 2890 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 2749 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 2753 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 2762 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 2781 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 2785 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 2792 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 2841 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 2845 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 2852 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)