android :: ASensorEvent :: defaultinit
android :: ASensorEvent :: sensor
android :: ASensorEvent :: sensor_type
android :: ASensorEvent :: timestamp
android :: ASensorEvent :: version
android $ ASensorEvent :: 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.
mnit :: InputEvent :: defaultinit
mnit :: SensorEvent :: defaultinit
android :: ASensorEvent :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: defaultinit
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 :: ASensorEvent :: sensor
android :: ASensorEvent :: sensor_type
android :: ASensorEvent :: timestamp
android :: ASensorEvent :: version
mnit :: SensorEvent
Sensor events like accelerometer, gyroscope etc for mobile appsandroid :: ASensorAccelerometer
Sensor event returned by the Accelerometer sensorandroid :: ASensorMagneticField
Sensor event returned by the Magnetic Field sensor
# Extern class referencing a ASensorEvent
extern class ASensorEvent `{ASensorEvent*`}
super SensorEvent
fun version: Int `{return self->version;`}
fun sensor: ASensor `{return (ASensorRef)self->sensor;`}
fun sensor_type: ASensorType `{return self->type;`}
fun timestamp: Int `{return self->timestamp;`}
end
lib/android/sensors.nit:145,1--153,3