Returns a negative value if no events are available or an error has occured otherwise the number of events returned
# Returns the next available events from the queue.
# Returns a negative value if no events are available or an error has occured
# otherwise the number of events returned
fun get_events(events: ASensorEvents, count: Int): Int `{
return ASensorEventQueue_getEvents(self, events, (size_t)count);
`}
lib/android/sensors.nit:112,2--117,3