android :: ASensorEventQueue :: disable_sensor
Disable the selected sensor, returns a negative value on errorandroid :: ASensorEventQueue :: enable_sensor
Enable the selected sensor, returns a negative value on errorandroid :: ASensorEventQueue :: get_events
Returns the next available events from the queue.android :: ASensorEventQueue :: has_events
Returns 1 if the queue has events, 0 if it does not have events,android :: ASensorEventQueue :: set_event_rate
Set the delivery rate of events in microseconds for the given sensorandroid $ ASensorEventQueue :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class to create the specific class.
			core :: Object :: defaultinit
core :: Pointer :: defaultinit
android :: ASensorEventQueue :: disable_sensor
Disable the selected sensor, returns a negative value on errorandroid :: ASensorEventQueue :: enable_sensor
Enable the selected sensor, returns a negative value on errorandroid :: ASensorEventQueue :: get_events
Returns the next available events from the queue.android :: ASensorEventQueue :: has_events
Returns 1 if the queue has events, 0 if it does not have events,core :: Object :: is_same_instance
Return true ifself and other are the same instance (i.e. same identity).
			core :: Object :: is_same_serialized
Isself the same as other in a serialization context?
			core :: Object :: is_same_type
Return true ifself and other have the same dynamic type.
			core :: Object :: output_class_name
Display class name on stdout (debug only).android :: ASensorEventQueue :: set_event_rate
Set the delivery rate of events in microseconds for the given sensor
# Manages the sensors events
extern class ASensorEventQueue `{ASensorEventQueue*`}
	# Enable the selected sensor, returns a negative value on error
	fun enable_sensor(sensor: ASensor): Int `{
		return ASensorEventQueue_enableSensor(self, sensor);
	`}
	# Disable the selected sensor, returns a negative value on error
	fun disable_sensor(sensor: ASensor): Int `{
		return ASensorEventQueue_disableSensor(self, sensor);
	`}
	# Set the delivery rate of events in microseconds for the given sensor
	fun set_event_rate(sensor: ASensor, usec: Int): Int `{
		return ASensorEventQueue_setEventRate(self, sensor, usec);
	`}
	# 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);
	`}
	# 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);
	`}
end
					lib/android/sensors.nit:89,1--118,3