WHAT ARE MAIN CLASSES RELATED TO THE USE OF SENSORS ON THE ANDROID PLATFORM?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
 1240  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!