ModemManager.LocationGpsNmea

g GObject.Object GObject.Object ModemManager.LocationGpsNmea ModemManager.LocationGpsNmea GObject.Object->ModemManager.LocationGpsNmea

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

build_full ()

get_trace (trace_type)

get_traces ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class ModemManager.LocationGpsNmea(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ModemManager.LocationGpsNmeaClass

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 with GLib.free().

Return type:

str

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:

str

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 with GLib.strfreev().

Return type:

[str]

Gets all cached traces.

New in version 1.14.