Specify whether duplicate sensor events should be skipped.
#include <bps/sensor.h>
BPS_API int sensor_set_skip_duplicates(sensor_type_t type,
bool enable_skipdup)
BlackBerry 10.0.0
The sensor that should skip duplicate events.
If true the device should attempt to skip duplicate events from the specified sensor, if false the device should not skip duplicate events.
The sensor_set_skip_duplicates() function enables or disables the skipping of duplicate events that are received from the specified sensor.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.