close_external_sensor_func_t

Updated: April 19, 2023

Discontinue using an external sensor on the device

Synopsis:

#include <sensor/external_sensor_api.h>
typedef void(* close_external_sensor_func_t)(void *handle);

Arguments:

handle
The handle that's returned from calling the function referred to by open_external_sensor_func_t.

Library:

libsensor

Description:

Call this function to discontinue using an external sensor on the device. Any internal resources associated with this previously opened sensor are freed.