Set up the notification method for a sensor.
#include <sensor/libsensor.h>
int sensor_event_notify(sensor_t *sensor, struct sigevent *ev)
BlackBerry 10.0.0
The sensor to modify.
The sigevent to use as a notification.
This function calls ionotify() to arm the system with the sigevent that you want to use as a notification.
The sigevent is cached in the sensor.
EOK on success, an errno value otherwise.