class ContactInputDescriptor

Defined at line 6028 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

`ContactInputDescriptor` describes the fields associated with a touch on a touch device.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

ContactInputDescriptor & set_position_x (::fuchsia::input::report::Axis _value)
ContactInputDescriptor & set_position_y (::fuchsia::input::report::Axis _value)
ContactInputDescriptor & set_pressure (::fuchsia::input::report::Axis _value)
ContactInputDescriptor & set_contact_width (::fuchsia::input::report::Axis _value)
ContactInputDescriptor & set_contact_height (::fuchsia::input::report::Axis _value)
void ContactInputDescriptor ()
void ContactInputDescriptor (ContactInputDescriptor && other)
void ~ContactInputDescriptor ()
ContactInputDescriptor & operator= (ContactInputDescriptor && other)
::std::unique_ptr<ContactInputDescriptor> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ContactInputDescriptor * _value, size_t _offset)
zx_status_t Clone (ContactInputDescriptor * _result)
const ::fuchsia::input::report::Axis & position_x ()

Describes the reporting of the x-axis.

Required.

Defined at line 6037 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

bool has_position_x ()

Defined at line 6041 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

::fuchsia::input::report::Axis * mutable_position_x ()

Describes the reporting of the x-axis.

Required.

Defined at line 6048 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

void clear_position_x ()

Defined at line 6056 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

const ::fuchsia::input::report::Axis & position_y ()

Describes the reporting of the y-axis.

Required.

Defined at line 6067 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

bool has_position_y ()

Defined at line 6071 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

::fuchsia::input::report::Axis * mutable_position_y ()

Describes the reporting of the y-axis.

Required.

Defined at line 6078 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

void clear_position_y ()

Defined at line 6086 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

const ::fuchsia::input::report::Axis & pressure ()

Pressure of the contact.

Optional.

Defined at line 6097 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

bool has_pressure ()

Defined at line 6101 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

::fuchsia::input::report::Axis * mutable_pressure ()

Pressure of the contact.

Optional.

Defined at line 6108 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

void clear_pressure ()

Defined at line 6116 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

const ::fuchsia::input::report::Axis & contact_width ()

Width of the area of contact.

Optional.

Defined at line 6127 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

bool has_contact_width ()

Defined at line 6131 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

::fuchsia::input::report::Axis * mutable_contact_width ()

Width of the area of contact.

Optional.

Defined at line 6138 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

void clear_contact_width ()

Defined at line 6146 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

const ::fuchsia::input::report::Axis & contact_height ()

Height of the area of contact.

Optional.

Defined at line 6157 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

bool has_contact_height ()

Defined at line 6161 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

::fuchsia::input::report::Axis * mutable_contact_height ()

Height of the area of contact.

Optional.

Defined at line 6168 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

void clear_contact_height ()

Defined at line 6176 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h