ModemManager.LocationGpsNmea¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ModemManager.LocationGpsNmea(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ModemManager.LocationGpsNmea
structure contains private data and should only be accessed using the provided API.- build_full()¶
- Returns:
a string containing all traces, or
None
if none available. The returned value should be freed withGLib.free
().- Return type:
Gets a compilation of all cached traces, in a single string. Traces are separated by ‘\r\n’.
New in version 1.0.
Deprecated since version 1.14: user should use
ModemManager.LocationGpsNmea.get_traces
() instead, which provides a much more generic interface to the full list of traces.
- get_trace(trace_type)¶
- Parameters:
trace_type (
str
) – specific NMEA trace type to gather.- Returns:
the NMEA trace, or
None
if not available. Do not free the returned value, it is owned by self.- Return type:
Gets the last cached value of the specific trace_type given.
New in version 1.0.
- get_traces()¶
- Returns:
The list of traces, or
None
if none available. The returned value should be freed withGLib.strfreev
().- Return type:
[
str
]
Gets all cached traces.
New in version 1.14.