class SensorFeatureReport
Defined at line 2782 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
A SensorFeatureReport describes the features of a given sensor. If a
FeatureReport is sent to the Input Device it sets the configuration of the device.
If a FeatureReport is requested from the Input Device it shows the device's
current configuration.
At least one of the fields below must be present.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
void SensorFeatureReport ()
void SensorFeatureReport (SensorFeatureReport && other)
const int64_t & report_interval ()
The time between reports sent by the sensor, in microseconds.
Must fall within the range specified in the descriptor's `report_interval`.
Optional.
Defined at line 2793 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_report_interval ()
Defined at line 2797 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
int64_t * mutable_report_interval ()
The time between reports sent by the sensor, in microseconds.
Must fall within the range specified in the descriptor's `report_interval`.
Optional.
Defined at line 2806 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_report_interval ()
Defined at line 2814 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::std::vector<int64_t> & sensitivity ()
The sensitivity for various `SensorType`. The order of the values
must match the sensor axes in `SensorDescriptor`.
Must fall within the range specified in the descriptor's `sensitivity`.
Optional.
Defined at line 2828 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_sensitivity ()
Defined at line 2832 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::std::vector<int64_t> * mutable_sensitivity ()
The sensitivity for various `SensorType`. The order of the values
must match the sensor axes in `SensorDescriptor`.
Must fall within the range specified in the descriptor's `sensitivity`.
Optional.
Defined at line 2842 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_sensitivity ()
Defined at line 2850 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::fuchsia::input::report::SensorReportingState & reporting_state ()
Determines when the sensor will send reports.
Optional.
Defined at line 2861 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_reporting_state ()
Defined at line 2865 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::fuchsia::input::report::SensorReportingState * mutable_reporting_state ()
Determines when the sensor will send reports.
Optional.
Defined at line 2872 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_reporting_state ()
Defined at line 2880 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_threshold_high ()
Defined at line 2916 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_threshold_low ()
Defined at line 2948 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const int64_t & sampling_rate ()
The rate at which the sensor is sampled.
Optional.
Defined at line 2959 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_sampling_rate ()
Defined at line 2963 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
int64_t * mutable_sampling_rate ()
The rate at which the sensor is sampled.
Optional.
Defined at line 2970 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_sampling_rate ()
Defined at line 2978 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
SensorFeatureReport & set_report_interval (int64_t _value)
SensorFeatureReport & set_sensitivity (::std::vector<int64_t> _value)
SensorFeatureReport & set_reporting_state (::fuchsia::input::report::SensorReportingState _value)
SensorFeatureReport & set_threshold_high (::std::vector<int64_t> _value)
SensorFeatureReport & set_threshold_low (::std::vector<int64_t> _value)
SensorFeatureReport & set_sampling_rate (int64_t _value)
const ::std::vector<int64_t> & threshold_high ()
The high thresholds for various `SensorType`. The order must match the
sensor axes in `SensorDescriptor`.
Must fall within the range specified in the descriptor's `threshold_high`.
Optional.
Defined at line 2894 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_threshold_high ()
Defined at line 2898 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::std::vector<int64_t> * mutable_threshold_high ()
The high thresholds for various `SensorType`. The order must match the
sensor axes in `SensorDescriptor`.
Must fall within the range specified in the descriptor's `threshold_high`.
Optional.
Defined at line 2908 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::std::vector<int64_t> & threshold_low ()
The low thresholds for various `SensorType`. The order must match the
sensor axes in `SensorDescriptor`.
Optional.
Defined at line 2928 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_threshold_low ()
Defined at line 2932 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::std::vector<int64_t> * mutable_threshold_low ()
The low thresholds for various `SensorType`. The order must match the
sensor axes in `SensorDescriptor`.
Optional.
Defined at line 2940 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void ~SensorFeatureReport ()
SensorFeatureReport & operator= (SensorFeatureReport && other)
::std::unique_ptr<SensorFeatureReport> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,SensorFeatureReport *_value,size_t_offset)
zx_status_t Clone (SensorFeatureReport * _result)