---
title: "What are main classes related to the use of sensors on the Android platform?"  
description: "What are main classes related to the use of sensors on the Android platform?"  
author: "Anonymous User"  
published: 2015-07-31  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/12743/what-are-main-classes-related-to-the-use-of-sensors-on-the-android-platform  
category: "android"  
tags: ["android", "android controls"]  
reading_time: 1 minute  

---

# What are main classes related to the use of sensors on the Android platform?

The four Java classes related to the use of sensors on the Android platform are :\
**1.Sensor:** Provides methods to identify which capabilities are available for a specific sensor.**2.SensorManager**: Provides methods for registering sensor event listeners and calibrating sensors.**4.SensorEvent:** Provides raw sensor data, including information regarding accuracy.**5.SensorEventListener**: Interface that defines callback methods that will receive sensor event notifications.

## Answers

### Answer by Anonymous User

The four Java classes related to the use of sensors on the Android platform are :\
**1.Sensor:** Provides methods to identify which capabilities are available for a specific sensor.**2.SensorManager**: Provides methods for registering sensor event listeners and calibrating sensors.**4.SensorEvent:** Provides raw sensor data, including information regarding accuracy.**5.SensorEventListener**: Interface that defines callback methods that will receive sensor event notifications.


---

Original Source: https://www.mindstick.com/interview/12743/what-are-main-classes-related-to-the-use-of-sensors-on-the-android-platform

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
