Skip to content
Media 1 for listing Android Sensors API

Description

** Help & support on Discord: https://discord.gg/TE7RM5N **

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.

Included formats