Android sensor--Sensor

Source: Internet
Author: User

The Android SDK supports the types of sensors that are defined in the Sensor class:

01, Type_accelerometer: Acceleration sensor (Hardware)

02, Type_ambient_temperature: Temperature sensor (hardware)

03, type_gravity: Gravity sensor (hardware or software)

04. Type_gyroscope: Gyroscope sensor (hardware)

05, Type_light: Light sensor (Hardware)

06. Type_linear_acceleration: Linear acceleration sensor (hardware or software)

07, Type_magnetic_field: Magnetic field sensor (hardware)

08, Type_orientation: Direction sensor (software) data from gravity and magnetic field sensors

09, Type_pressure: Pressure sensor (hardware)

10, Type_proximity: Proximity sensor (hardware)

11, Type_relative_humidity: Humidity sensor (hardware)

12, Type_rotation_vector: Rotation vector sensor (hardware or software)

13, Type_temperature: Temperature sensor (hardware), from Android4.0 (API 14) began to be replaced by type_ambient_temperature

Android sensor--Sensor

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.