class ViewSpec
Defined at line 1599 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
A description of a view that can be presented by a `GraphicalPresenter`.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool has_view_holder_token ()
Defined at line 1612 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
::fuchsia::ui::views::ViewHolderToken * mutable_view_holder_token ()
The view holder token for the presented Gfx view. Must be unset for
Flatland views. One of `view_holder_token` or `viewport_creation_token`
must be set.
Defined at line 1619 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
void clear_view_holder_token ()
Defined at line 1627 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
bool has_view_ref ()
Defined at line 1641 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
::fuchsia::ui::views::ViewRef * mutable_view_ref ()
The `ViewRef` of the presented Gfx view. Must be unset for Flatland
views.
Defined at line 1647 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
void clear_view_ref ()
Defined at line 1655 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
const ::std::vector< ::fuchsia::element::Annotation> & annotations ()
The initial annotations associated with the presented view. Updates to
annotations are observed through the `AnnotationController` passed
to `PresentView()`.
Optional.
Defined at line 1668 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
bool has_annotations ()
Defined at line 1672 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
::std::vector< ::fuchsia::element::Annotation> * mutable_annotations ()
The initial annotations associated with the presented view. Updates to
annotations are observed through the `AnnotationController` passed
to `PresentView()`.
Optional.
Defined at line 1681 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
void clear_annotations ()
Defined at line 1689 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
bool has_viewport_creation_token ()
Defined at line 1704 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
::fuchsia::ui::views::ViewportCreationToken * mutable_viewport_creation_token ()
The viewport creation token for the presented Flatland view. Must be
unset for Gfx views. One of `view_holder_token` or `viewport_creation_token`
must be set.
Defined at line 1711 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
void clear_viewport_creation_token ()
Defined at line 1719 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
ViewSpec & set_view_holder_token (::fuchsia::ui::views::ViewHolderToken _value)
ViewSpec & set_view_ref (::fuchsia::ui::views::ViewRef _value)
ViewSpec & set_annotations (::std::vector< ::fuchsia::element::Annotation> _value)
ViewSpec & set_viewport_creation_token (::fuchsia::ui::views::ViewportCreationToken _value)
void ViewSpec ()
void ViewSpec (ViewSpec && other)
const ::fuchsia::ui::views::ViewHolderToken & view_holder_token ()
The view holder token for the presented Gfx view. Must be unset for
Flatland views. One of `view_holder_token` or `viewport_creation_token`
must be set.
Defined at line 1608 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
const ::fuchsia::ui::views::ViewRef & view_ref ()
The `ViewRef` of the presented Gfx view. Must be unset for Flatland
views.
Defined at line 1637 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
const ::fuchsia::ui::views::ViewportCreationToken & viewport_creation_token ()
The viewport creation token for the presented Flatland view. Must be
unset for Gfx views. One of `view_holder_token` or `viewport_creation_token`
must be set.
Defined at line 1700 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/hlcpp/fuchsia/element/cpp/fidl.h
void ~ViewSpec ()
ViewSpec & operator= (ViewSpec && other)
::std::unique_ptr<ViewSpec> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ViewSpec * _value, size_t _offset)
zx_status_t Clone (ViewSpec * _result)