class ContactInputReport
Defined at line 1452 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
`ContactInputReport` describes one touch on a touch device.
Public Methods
void ContactInputReport (Storage_ storage)
void ContactInputReport ()
Defined at line 1457 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
void ContactInputReport (ContactInputReport && )
Defined at line 1458 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
void ContactInputReport (const ContactInputReport & other)
ContactInputReport & operator= (ContactInputReport && )
Defined at line 1459 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
ContactInputReport & operator= (const ContactInputReport & other)
bool operator== (const ContactInputReport & other)
bool operator!= (const ContactInputReport & other)
bool IsEmpty ()
const std::optional<uint32_t> & contact_id ()
Identifier for this contact.
::std::optional<uint32_t> & contact_id ()
Identifier for this contact.
ContactInputReport & contact_id (std::optional<uint32_t> value)
Identifier for this contact.
const std::optional<int64_t> & position_x ()
A contact's position on the x axis.
::std::optional<int64_t> & position_x ()
A contact's position on the x axis.
ContactInputReport & position_x (std::optional<int64_t> value)
A contact's position on the x axis.
const std::optional<int64_t> & position_y ()
A contact's position on the y axis.
::std::optional<int64_t> & position_y ()
A contact's position on the y axis.
ContactInputReport & position_y (std::optional<int64_t> value)
A contact's position on the y axis.
const std::optional<int64_t> & pressure ()
Pressure of the contact.
::std::optional<int64_t> & pressure ()
Pressure of the contact.
ContactInputReport & pressure (std::optional<int64_t> value)
Pressure of the contact.
const std::optional<int64_t> & contact_width ()
Width of the bounding box around the touch contact. Combined with
`contact_height`, this describes the area of the touch contact.
`contact_width` and `contact_height` should both have units of distance,
and they should be in the same units as `position_x` and `position_y`.
::std::optional<int64_t> & contact_width ()
Width of the bounding box around the touch contact. Combined with
`contact_height`, this describes the area of the touch contact.
`contact_width` and `contact_height` should both have units of distance,
and they should be in the same units as `position_x` and `position_y`.
ContactInputReport & contact_width (std::optional<int64_t> value)
Width of the bounding box around the touch contact. Combined with
`contact_height`, this describes the area of the touch contact.
`contact_width` and `contact_height` should both have units of distance,
and they should be in the same units as `position_x` and `position_y`.
const std::optional<int64_t> & contact_height ()
Height of the bounding box around the touch contact. Combined with
`contact_width`, this describes the area of the touch contact.
`contact_width` and `contact_height` should both have units of distance,
and they should be in the same units as `position_x` and `position_y`.
::std::optional<int64_t> & contact_height ()
Height of the bounding box around the touch contact. Combined with
`contact_width`, this describes the area of the touch contact.
`contact_width` and `contact_height` should both have units of distance,
and they should be in the same units as `position_x` and `position_y`.
ContactInputReport & contact_height (std::optional<int64_t> value)
Height of the bounding box around the touch contact. Combined with
`contact_width`, this describes the area of the touch contact.
`contact_width` and `contact_height` should both have units of distance,
and they should be in the same units as `position_x` and `position_y`.
const std::optional<bool> & confidence ()
Also known as touch valid. Indicates the device’s confidence that the touch
contact was an intended, valid contact. The device should report 0 if the
contact is not a valid touch. The device should report 1 if the contact is
intended and valid (e.g. a pointing touch)
::std::optional<bool> & confidence ()
Also known as touch valid. Indicates the device’s confidence that the touch
contact was an intended, valid contact. The device should report 0 if the
contact is not a valid touch. The device should report 1 if the contact is
intended and valid (e.g. a pointing touch)
ContactInputReport & confidence (std::optional<bool> value)
Also known as touch valid. Indicates the device’s confidence that the touch
contact was an intended, valid contact. The device should report 0 if the
contact is not a valid touch. The device should report 1 if the contact is
intended and valid (e.g. a pointing touch)
void ContactInputReport (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits