The type of object returned by getSensor, which extends the original Android Sensor class with extra functions, see SensorExt.
Get the sensor object by the specified sensor name, or undefined
if not found.
A list of common sensors:
accelerometer
magnetic_field
orientation
gyroscope
light
pressure
temperature
proximity
gravity
linear_acceleration
See Sensor for a full list.
the sensor name
the sensor object, or undefined
sensors module provides the support for getting the sensor information of the device, including the distance sensor, light sensor, gravity sensor, orientation sensor, etc. Note that this module can only get the sensor data, Auto.js Pro does not provide the simulation or fake sensor data and event function.