Android Sensors API

Average Rating:  
X Rating Failed

Enables access to all sensors of the Android API (light, proximity, compass, etc.)

  • Supported Target Platforms
  • Supported Engine Versions


Android Sensors API provides an easy access to the sensors of the Android API (depending on the availability of the sensor on the device):

  • Accelerometer
  • Ambient temperature
  • Gravity
  • Gyroscope
  • Light
  • Linear acceleration
  • Magnetic field
  • Orientation
  • Pressure
  • Proximity
  • Relative humidity
  • Rotation vector
  • Temperature
  • Heart beat

Just call the Initialize function for a sensor, and start reading measures from this sensor. It can be called from either C++ or from Blueprints.

Note: Null values will be returned if a sensor is unavailable (if Initialize returns false, it means that it's not available), and the quality of the data will depend on the quality of the sensor.

Technical Details


  •  Direct access to accelerometer, ambient temperature, gravity, gyroscope, light, linear acceleration, magnetic field, orientation, pressure, proximity, relative humidity, rotation vector, temperature, heart beat

Code Modules:

  •  Android Sensors API - Runtime

Number of Blueprints: 0

Number of C++ Classes: 5

Network Replicated: No

Supported Development Platforms: All platforms

Supported Target Build Platforms: Android (it can be built for other platforms, but the sensors functions will return null values)




Previous Next
  • Edit
  • Preview
  • Help
Login to comment
X Report this Comment
X Attention

X Edit this Comment
  • Edit
  • Preview
  • Help
X Remove this Comment

Are you sure you want to remove this comment?

X Attention