android :: ASensorType :: accelerometer
android :: ASensorType :: defaultinit
android :: ASensorType :: gyroscope
android :: ASensorType :: is_gyroscope
android :: ASensorType :: is_light
android :: ASensorType :: is_proximity
android :: ASensorType :: light
android :: ASensorType :: magnetic_field
android :: ASensorType :: proximity
android $ ASensorType :: SELF
Type of this instance, automatically specialized in every classandroid :: ASensorType :: accelerometer
core :: 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 :: Pointer :: defaultinit
core :: Object :: defaultinit
android :: ASensorType :: defaultinit
android :: ASensorType :: gyroscope
android :: ASensorType :: is_gyroscope
android :: ASensorType :: is_light
android :: ASensorType :: is_proximity
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.
android :: ASensorType :: light
android :: ASensorType :: magnetic_field
core :: Object :: output_class_name
Display class name on stdout (debug only).android :: ASensorType :: proximity
extern class ASensorType `{int`}
new accelerometer: ASensorType `{return ASENSOR_TYPE_ACCELEROMETER;`}
fun is_accelerometer: Bool `{return self == ASENSOR_TYPE_ACCELEROMETER;`}
new magnetic_field: ASensorType `{return ASENSOR_TYPE_MAGNETIC_FIELD;`}
fun is_magnetic_field: Bool `{return self == ASENSOR_TYPE_MAGNETIC_FIELD;`}
new gyroscope:ASensorType `{return ASENSOR_TYPE_GYROSCOPE;`}
fun is_gyroscope: Bool `{ return self == ASENSOR_TYPE_GYROSCOPE;`}
new light: ASensorType `{return ASENSOR_TYPE_LIGHT;`}
fun is_light: Bool `{return self == ASENSOR_TYPE_LIGHT;`}
new proximity: ASensorType `{return ASENSOR_TYPE_PROXIMITY;`}
fun is_proximity:Bool `{return self == ASENSOR_TYPE_PROXIMITY;`}
end
lib/android/sensors.nit:48,1--59,3