Checking Sensor Availability

This is a function which enables you to check if a mobile device has the sensor in question available for use. Once confirmed that the sensor is available for use, you can Register the Sensor and expect to receive Sensor Events from the Sensor Event Listener.

The function accepts only one parameter, the Sensor Type.

1

Sensor Type

The Sensor Type to be checked for its availability on the mobile device.