peek_signaled_cdma_bs


Description:

[ Version ( since = "1.18" ) ]
public unowned LocationCdmaBs peek_signaled_cdma_bs ()

Gets a LocationCdmaBs object with the current CDMA base station location information.

Unlike get_cdma_bs or get_cdma_bs_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_cdma_bs if on another thread.

Parameters:

this

A ModemLocation.

Returns:

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