libmm-glib,location: new signaled location API support

We allow clients to receive asynchronous updates of location
information, e.g. if "location signaling" is explicitly enabled (with
the setup() method).

But if so, we should also allow clients to easily process those
asynchronous updates in the libmm-glib library, instead of requiring
them to run explicit DBus queries to refresh the location information.

These new signaled location APIs allow clients to do so; they can
enable location signaling, and then just wait for the updates to
arrive.
This commit is contained in:
Aleksander Morgado
2021-06-24 10:14:17 +02:00
parent 4e4cb6d66a
commit f226b63301
3 changed files with 408 additions and 2 deletions

View File

@@ -481,20 +481,29 @@ mm_modem_location_set_gps_refresh_rate_sync
mm_modem_location_get_3gpp
mm_modem_location_get_3gpp_finish
mm_modem_location_get_3gpp_sync
mm_modem_location_peek_signaled_3gpp
mm_modem_location_get_signaled_3gpp
mm_modem_location_get_gps_nmea
mm_modem_location_get_gps_nmea_finish
mm_modem_location_get_gps_nmea_sync
mm_modem_location_peek_signaled_gps_nmea
mm_modem_location_get_signaled_gps_nmea
mm_modem_location_get_gps_raw
mm_modem_location_get_gps_raw_finish
mm_modem_location_get_gps_raw_sync
mm_modem_location_peek_signaled_gps_raw
mm_modem_location_get_signaled_gps_raw
mm_modem_location_get_cdma_bs
mm_modem_location_get_cdma_bs_finish
mm_modem_location_get_cdma_bs_sync
mm_modem_location_peek_signaled_cdma_bs
mm_modem_location_get_signaled_cdma_bs
mm_modem_location_get_full
mm_modem_location_get_full_finish
mm_modem_location_get_full_sync
<SUBSECTION Standard>
MMModemLocationClass
MMModemLocationPrivate
MM_IS_MODEM_LOCATION
MM_IS_MODEM_LOCATION_CLASS
MM_MODEM_LOCATION