Interface

PhoshGeoClueDBusManager

since: 0

Description [src]

interface Phosh.GeoClueDBusManager : GObject.Object

Abstract interface type for the D-Bus interface org.freedesktop.GeoClue2.Manager.

Available since: 0

Prerequisite

In order to implement GeoClueDBusManager, your type must inherit fromGObject.

Functions

phosh_geo_clue_dbus_manager_interface_info

Gets a machine-readable description of the org.freedesktop.GeoClue2.Manager D-Bus interface.

since: 0

phosh_geo_clue_dbus_manager_override_properties

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

since: 0

Instance methods

phosh_geo_clue_dbus_manager_call_add_agent

Asynchronously invokes the AddAgent() D-Bus method on proxy. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). You can then call phosh_geo_clue_dbus_manager_call_add_agent_finish() to get the result of the operation.

since: 0

phosh_geo_clue_dbus_manager_call_add_agent_finish

Finishes an operation started with phosh_geo_clue_dbus_manager_call_add_agent().

since: 0

phosh_geo_clue_dbus_manager_call_add_agent_sync

Synchronously invokes the AddAgent() D-Bus method on proxy. The calling thread is blocked until a reply is received.

since: 0

phosh_geo_clue_dbus_manager_complete_add_agent

Helper function used in service implementations to finish handling invocations of the AddAgent() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

since: 0

phosh_geo_clue_dbus_manager_get_available_accuracy_level

Gets the value of the AvailableAccuracyLevel” D-Bus property.

since: 0

phosh_geo_clue_dbus_manager_get_in_use

Gets the value of the InUse” D-Bus property.

since: 0

phosh_geo_clue_dbus_manager_set_available_accuracy_level

Sets the AvailableAccuracyLevel” D-Bus property to value.

since: 0

phosh_geo_clue_dbus_manager_set_in_use

Sets the InUse” D-Bus property to value.

since: 0

Properties

Phosh.GeoClueDBusManager:available-accuracy-level

Represents the D-Bus property AvailableAccuracyLevel”.

since: 0

Phosh.GeoClueDBusManager:in-use

Represents the D-Bus property InUse”.

since: 0

Signals

Phosh.GeoClueDBusManager::handle-add-agent

Signal emitted when a remote caller is invoking the AddAgent() D-Bus method.

since: 0

Interface structure

struct PhoshGeoClueDBusManagerIface {
  GTypeInterface parent_iface;
  gboolean (* handle_add_agent) (
    PhoshGeoClueDBusManager* object,
    GDBusMethodInvocation* invocation,
    const gchar* arg_id
  );
  guint (* get_available_accuracy_level) (
    PhoshGeoClueDBusManager* object
  );
  gboolean (* get_in_use) (
    PhoshGeoClueDBusManager* object
  );
  
}

Virtual table for the D-Bus interface org.freedesktop.GeoClue2.Manager.

Interface members
parent_iface
GTypeInterface
 

The parent interface.

handle_add_agent
gboolean (* handle_add_agent) (
    PhoshGeoClueDBusManager* object,
    GDBusMethodInvocation* invocation,
    const gchar* arg_id
  )
 No description available.
get_available_accuracy_level
guint (* get_available_accuracy_level) (
    PhoshGeoClueDBusManager* object
  )
 No description available.
get_in_use
gboolean (* get_in_use) (
    PhoshGeoClueDBusManager* object
  )
 No description available.

Virtual methods

Phosh.GeoClueDBusManager.get_available_accuracy_level

Gets the value of the AvailableAccuracyLevel” D-Bus property.

since: 0

Phosh.GeoClueDBusManager.get_in_use

Gets the value of the InUse” D-Bus property.

since: 0

Phosh.GeoClueDBusManager.handle_add_agent
No description available.

since: 0