class FocusState

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

A ViewRef's state of focus.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const bool & focused ()

Describes if a ViewRef has gained focus (true), or lost focus (false).

Required field.

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

bool has_focused ()

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

bool * mutable_focused ()

Describes if a ViewRef has gained focus (true), or lost focus (false).

Required field.

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

void clear_focused ()

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

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