Geoclue.Location

g GObject.GInterface GObject.GInterface Geoclue.Location Geoclue.Location GObject.GInterface->Geoclue.Location

Implementations:

Geoclue.LocationProxy, Geoclue.LocationSkeleton

Methods

class

interface_info ()

class

override_properties (klass, property_id_begin)

Virtual Methods

None

Properties

Name

Type

Flags

Short Description

accuracy

float

r/w

Accuracy

altitude

float

r/w

Altitude

description

str

r/w

Description

heading

float

r/w

Heading

latitude

float

r/w

Latitude

longitude

float

r/w

Longitude

speed

float

r/w

Speed

timestamp

GLib.Variant

r/w

Timestamp

Signals

None

Fields

None

Class Details

class Geoclue.Location
Bases:

GObject.GInterface

Structure:

Geoclue.LocationIface

Abstract interface type for the D-Bus interface ‘org.freedesktop.GeoClue2.Location [gdbus-interface-org-freedesktop-GeoClue2-Location.top_of_page]’.

classmethod interface_info()
Returns:

A Gio.DBusInterfaceInfo. Do not free.

Return type:

Gio.DBusInterfaceInfo

Gets a machine-readable description of the ‘org.freedesktop.GeoClue2.Location [gdbus-interface-org-freedesktop-GeoClue2-Location.top_of_page]’ D-Bus interface.

classmethod override_properties(klass, property_id_begin)
Parameters:
Returns:

The last property id.

Return type:

int

Overrides all GObject.Object properties in the Geoclue.Location interface for a concrete class. The properties are overridden in the order they are defined.

Property Details

Geoclue.Location.props.accuracy
Name:

accuracy

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Accuracy” [gdbus-property-org-freedesktop-GeoClue2-Location.Accuracy]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Geoclue.Location.props.altitude
Name:

altitude

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Altitude” [gdbus-property-org-freedesktop-GeoClue2-Location.Altitude]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Geoclue.Location.props.description
Name:

description

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Description” [gdbus-property-org-freedesktop-GeoClue2-Location.Description]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Geoclue.Location.props.heading
Name:

heading

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Heading” [gdbus-property-org-freedesktop-GeoClue2-Location.Heading]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Geoclue.Location.props.latitude
Name:

latitude

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Latitude” [gdbus-property-org-freedesktop-GeoClue2-Location.Latitude]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Geoclue.Location.props.longitude
Name:

longitude

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Longitude” [gdbus-property-org-freedesktop-GeoClue2-Location.Longitude]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Geoclue.Location.props.speed
Name:

speed

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Speed” [gdbus-property-org-freedesktop-GeoClue2-Location.Speed]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Geoclue.Location.props.timestamp
Name:

timestamp

Type:

GLib.Variant

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Timestamp” [gdbus-property-org-freedesktop-GeoClue2-Location.Timestamp]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.