class KeyMeaning

Defined at line 43 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/natural_types.h

The meaning of the key press. This is typically the Unicode codepoint inserted

by this event, or an enum representing a key that corresponds to whitespace or

is otherwise unprintable.

Public Methods

void KeyMeaning (KeyMeaning && other)
KeyMeaning & operator= (KeyMeaning && other)
void KeyMeaning (const KeyMeaning & other)
KeyMeaning & operator= (const KeyMeaning & other)
bool operator== (const KeyMeaning & other)
bool operator!= (const KeyMeaning & other)
::fuchsia_ui_input3::KeyMeaning::Tag Which ()
KeyMeaning WithCodepoint (uint32_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> codepoint ()
::fidl::internal::UnionMemberView<1, Storage_> codepoint ()
KeyMeaning & codepoint (uint32_t value)

The Unicode codepoint representing character typed, if any.

* In Dart and Go, this corresponds to a `rune`.

* In Rust, this corresponds to a `char`.

* In C and C++, this corresponds to ICU's UChar32.

KeyMeaning WithNonPrintableKey (::fuchsia_ui_input3::NonPrintableKey val)
const ::fidl::internal::UnionMemberView<2, Storage_> non_printable_key ()
::fidl::internal::UnionMemberView<2, Storage_> non_printable_key ()
KeyMeaning & non_printable_key (::fuchsia_ui_input3::NonPrintableKey value)

The meaning of the key for key events with no corresponding symbol.

void KeyMeaning (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kCodepoint 1
kNonPrintableKey 2

TODO: share union tag types between wire

&

natural.

Defined at line 51 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/cpp/fidl/fuchsia.ui.input3/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits