nRF Connect SDK API 2.8.99
|
int location_handler_register | ( | location_event_handler_t | handler | ) |
#include <include/modem/location.h>
Register handler for location events.
This function is not needed for clients that call location_init() and pass event handler into it.
Multiple event handlers can be registered.
[in] | handler | Event handler. |
-EINVAL | The handler was a NULL pointer. |
-ENOMEM | Out of memory. |