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

◆ location_details_get()

const struct location_data_details * location_details_get ( const struct location_event_data event_data)

#include <include/modem/location.h>

Get location data details from the location event data.

The location_data_details structure is located in a different place in the location_event_data structure depending on the event ID. This is a helper function to provide the location_data_details structure.

Parameters
[in]event_dataEvent data.
Returns
Location data details. NULL if there is no location_data_details structure for the provided event.