peek_signaled_3gpp


Description:

[ Version ( since = "1.18" ) ]
public unowned Location3gpp peek_signaled_3gpp ()

Gets a Location3gpp object with the current 3GPP location information.

Unlike get_3gpp or get_3gpp_sync, this method does not perform an explicit query. Instead, this method will return the location information that may have been signaled by the modem. Therefore, this method will only succeed if location signaling is enabled (e.g. with setup in the ModemLocation).

Warning:

The returned value is only valid until the property changes so it is only safe to use this function on the thread where this was constructed. Use get_signaled_3gpp if on another thread.

Parameters:

this

A ModemLocation.

Returns:

A Location3gpp, or null if none available. Do not free the returned value, it belongs to this.