nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ date_time_register_handler()

void date_time_register_handler ( date_time_evt_handler_t evt_handler)

#include <include/date_time.h>

Register an event handler for Date time library events.

Note
The library only allows for one event handler to be registered at a time. A passed in event handler in this function will overwrite the previously set event handler.
Parameters
evt_handlerEvent handler. Handler is de-registered if parameter is NULL.