Functions in sensor.h
Functions that are available for reading the various input sensors that are available on the device.
Related links
- sensor.h
Functions to read various input sensors on the device.
- Constants in sensor.h
Constants and definitions for sensors.
- Data types in sensor.h
Data structures, typedefs, and enumerations that are available for reading the various input sensors that are available on the device.
- sensor_event_get_accuracy()
Retrieve the accuracy of a sensor reading.
- sensor_event_get_altitude()
Retrieve the altitude from a SENSOR_ALTIMETER_READING event.
- sensor_event_get_apr()
Retrieve the azimuth, pitch, and roll data values from a sensor event.
- sensor_event_get_face_detect()
Retrieve whether a face was detected close to our touching the screen.
- sensor_event_get_flags()
Reserved for future use.
- sensor_event_get_illuminance()
Retrieve the illuminance from a SENSOR_LIGHT_READING event.
- sensor_event_get_orientation_angle()
Returns the device orientation in degrees: 0, 90, 180, or 270.
- sensor_event_get_orientation_face()
Returns the direction the device is facing.
- sensor_event_get_proximity()
Retrieve the proximity from a SENSOR_PROXIMITY_READING event.
- sensor_event_get_proximity_normalized()
Retrieve the normalized proximity from a SENSOR_PROXIMITY_READING event.
- sensor_event_get_rotation_matrix()
Retrieve a rotation matrix from a SENSOR_ROTATION_MATRIX_READING event.
- sensor_event_get_rotation_vector()
Get a rotation vector from a SENSOR_ROTATION_VECTOR_READING event.
- sensor_event_get_temperature()
Retrieve the temperature from a SENSOR_TEMPERATURE_READING event.
- sensor_event_get_timestamp()
Retrieve the timestamp of a sensor reading.
- sensor_event_get_xyz()
Retrieve the x, y, and z data values from a sensor event.
- sensor_get_domain()
Retrieve the unique domain ID for the sensor service.
- sensor_info()
Retrieve information for a sensor.
- sensor_info_get_delay_default()
Retrieve the default delay of a sensor.
- sensor_info_get_delay_maximum()
Retrieve the maximum delay of a sensor.
- sensor_info_get_delay_minimum()
Retrieve the minimum delay of a sensor.
- sensor_info_get_delay_mininum()
Deprecated.
- sensor_info_destroy()
Free the resources that were allocated for a sensor information structure.
- sensor_info_get_power()
Reserved for future use.
- sensor_info_get_range_maximum()
Retrieve the maximum range of a sensor.
- sensor_info_get_range_minimum()
Retrieve the minimum range of a sensor.
- sensor_info_get_resolution()
Retrieve the resolution of a sensor.
- sensor_is_supported()
Indicate whether a sensor type is supported.
- sensor_remap_coordinates()
Coordinates from a sensor event will be remapped based on the angle.
- sensor_request_events()
Start sending sensor events to BlackBerry Platform Services (BPS)
- sensor_set_background()
Specify whether the sensor should continue operation when the system goes into standby.
- sensor_set_calibration()
Enable or disable sensor calibration.
- sensor_set_rate()
Set a sensor's refresh rate.
- sensor_set_skip_duplicates()
Specify whether duplicate sensor events should be skipped.
- sensor_stop_events()
Stop sending sensor events to BlackBerry Platform Services (BPS)