sensor_info_destroy()

Free the resources that were allocated for a sensor information structure.

Synopsis:

#include <bps/sensor.h>
 
BPS_API int sensor_info_destroy(sensor_info_t *info)

Since:

BlackBerry 10.0.0

Arguments:

info

A pointer to the sensor_info_t structure to free.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The sensor_info_destroy() function releases the resources that were allocated for the specified sensor_info_t structure.

Returns:

BPS_SUCCESS upon successfully completing the function, BPS_FAILURE with errno value set otherwise.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus