and a negative value if there is an error
# Returns 1 if the queue has events, 0 if it does not have events,
# and a negative value if there is an error
fun has_events: Int `{
return ASensorEventQueue_hasEvents(self);
`}
lib/android/sensors.nit:106,2--110,3