android :: ASensorManager :: create_event_queue
Create a new sensor event queue and associate it with a looperandroid :: ASensorManager :: defaultinit
android :: ASensorManager :: destroy_event_queue
Destroys the event queue and free all resources associated to itandroid :: ASensorManager :: get_default_sensor
Returns the default sensor of the given typeandroid :: ASensorManager :: get_sensor_list
Returns the list of available sensorsandroid $ ASensorManager :: 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.
			android :: ASensorManager :: create_event_queue
Create a new sensor event queue and associate it with a looperandroid :: ASensorManager :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: defaultinit
android :: ASensorManager :: destroy_event_queue
Destroys the event queue and free all resources associated to itandroid :: ASensorManager :: get_default_sensor
Returns the default sensor of the given typeandroid :: ASensorManager :: get_sensor_list
Returns the list of available sensorscore :: 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).
# Manages the sensors
extern class ASensorManager `{ASensorManager*`}
	new get_instance: ASensorManager `{return ASensorManager_getInstance();`}
	# Returns the list of available sensors
	fun get_sensor_list: Pointer `{
		ASensorList *list;
		ASensorManager_getSensorList(self, list);
		return list;
	`}
	# Create a new sensor event queue and associate it with a looper
	fun create_event_queue(app: NativeAppGlue): ASensorEventQueue `{
		return ASensorManager_createEventQueue(self, app->looper, LOOPER_ID_USER, NULL, NULL);
	`}
	# Returns the default sensor of the given type
	fun get_default_sensor(sensortype: ASensorType): ASensor `{
		return ASensorManager_getDefaultSensor(self, sensortype);
	`}
	# Destroys the event queue and free all resources associated to it
	fun destroy_event_queue(queue: ASensorEventQueue) `{
		ASensorManager_destroyEventQueue(self, queue);
	`}
end
					lib/android/sensors.nit:61,1--87,3