stop_streaming_func_t

Stop streaming

Synopsis:

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

Arguments:

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

Library:

libsensor

Description:

This function is invoked when the sensor service needs to stop streaming.

Returns:

SENSOR_EOK when the function successfully completes; otherwise another sensor_error_t value that provides the reason that the call failed.