ModemManager.LocationGpsRaw

g GObject.Object GObject.Object ModemManager.LocationGpsRaw ModemManager.LocationGpsRaw GObject.Object->ModemManager.LocationGpsRaw

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_altitude ()

get_latitude ()

get_longitude ()

get_utc_time ()

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.LocationGpsRaw(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ModemManager.LocationGpsRawClass

The ModemManager.LocationGpsRaw structure contains private data and should only be accessed using the provided API.

get_altitude()
Returns:

the altitude, or %MM_LOCATION_ALTITUDE_UNKNOWN if unknown.

Return type:

float

Gets the altitude, in the [-90,90] range.

New in version 1.0.

get_latitude()
Returns:

the latitude, or %MM_LOCATION_LATITUDE_UNKNOWN if unknown.

Return type:

float

Gets the latitude, in the [-90,90] range.

New in version 1.0.

get_longitude()
Returns:

the longitude, or %MM_LOCATION_LONGITUDE_UNKNOWN if unknown.

Return type:

float

Gets the longitude, in the [-180,180] range.

New in version 1.0.

get_utc_time()
Returns:

a string with the UTC time, or None if unknown. Do not free the returned value, it is owned by self.

Return type:

str

Gets the UTC time of the location being reported.

New in version 1.0.