android :: ASensorMagneticField :: x
android :: ASensorMagneticField :: y
android :: ASensorMagneticField :: z
android $ ASensorMagneticField :: 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
core :: Pointer :: defaultinit
android :: ASensorEvent :: defaultinit
mnit :: SensorEvent :: 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
android :: ASensorMagneticField :: x
android :: ASensorMagneticField :: y
android :: ASensorMagneticField :: z
mnit :: SensorEvent
Sensor events like accelerometer, gyroscope etc for mobile apps
# Sensor event returned by the Magnetic Field sensor
extern class ASensorMagneticField `{ASensorEvent*`}
super ASensorEvent
fun x: Float `{return self->magnetic.x;`}
fun y: Float `{return self->magnetic.y;`}
fun z: Float `{ return self->magnetic.z;`}
end
lib/android/sensors.nit:190,1--197,3