class ContactInputReport
Defined at line 1751 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 1756 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 1757 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 1758 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.
Required.
::std::optional<uint32_t> & contact_id ()
Identifier for this contact.
Required.
ContactInputReport & contact_id (std::optional<uint32_t> value)
Identifier for this contact.
Required.
const std::optional<int64_t> & position_x ()
A contact's position on the x axis.
Required.
::std::optional<int64_t> & position_x ()
A contact's position on the x axis.
Required.
ContactInputReport & position_x (std::optional<int64_t> value)
A contact's position on the x axis.
Required.
const std::optional<int64_t> & position_y ()
A contact's position on the y axis.
Required.
::std::optional<int64_t> & position_y ()
A contact's position on the y axis.
Required.
ContactInputReport & position_y (std::optional<int64_t> value)
A contact's position on the y axis.
Required.
const std::optional<int64_t> & pressure ()
Pressure of the contact.
Required iff `pressure` is present in the descriptor.
::std::optional<int64_t> & pressure ()
Pressure of the contact.
Required iff `pressure` is present in the descriptor.
ContactInputReport & pressure (std::optional<int64_t> value)
Pressure of the contact.
Required iff `pressure` is present in the descriptor.
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`.
Required iff `contact_width` is present in the descriptor.
::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`.
Required iff `contact_width` is present in the descriptor.
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`.
Required iff `contact_width` is present in the descriptor.
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`.
Required iff `contact_height` is present in the descriptor.
::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`.
Required iff `contact_height` is present in the descriptor.
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`.
Required iff `contact_height` is present in the descriptor.
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).
Optional.
::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).
Optional.
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).
Optional.
void ContactInputReport (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits