December Free Content now available!

Android Sensors API

Isara Tech. - Code Plugins - Jun 15, 2018
3.83 out of 5 stars(6 ratings)
  • 50%
  • 17%
  • 17%
  • 0%
  • 17%

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

  • Supported Platforms
  • Supported Engine Versions
    4.19 - 4.27
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

** Help & support on Discord: **

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)