Updated: October 28, 2024 |
Retrieve the metadata if the specified metadata type is supported and is within the specified limits
#include <sensor/external_sensor_api.h>
typedef int(* get_metadata_limits_func_t)(void *handle, sensor_metadata_type_t time, sensor_metadata_limits_t *limits);
If the metadata type is not supported by the sensor, only the metadata_supported field needs to be set. If the metadata type is supported, the limit values associated with the metadata need to be set as well.
This function is optional.
SENSOR_EOK when the function successfully completes; otherwise another sensor_error_t value that provides the reason that the call failed.