Client
Object Hierarchy:
Description:
Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.
top_of_page">org.freedesktop.GeoClue2.Client</link>.
All known implementing classes:
Namespace: GClue
Package: libgeoclue-2.0
Content:
Properties:
- public abstract bool active { get; set; }
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.
- public abstract string desktop_id { owned get; set; }
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.
- public abstract uint distance_threshold { get; set; }
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.
- public abstract string location { owned get; set; }
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.
- public abstract uint requested_accuracy_level { get; set; }
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.
- public abstract uint time_threshold { get; set; }
Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-GeoClue2-Client.
Static methods:
- public static unowned DBusInterfaceInfo interface_info ()
Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Client.
- public static uint override_properties (ObjectClass klass, uint property_id_begin)
Overrides all Object properties in the Client interface for a concrete class.
Methods:
- public async bool call_start (Cancellable? cancellable) throws Error
Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.
- public bool call_start_sync (Cancellable? cancellable = null) throws Error
Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.
- public async bool call_stop (Cancellable? cancellable) throws Error
Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.
- public bool call_stop_sync (Cancellable? cancellable = null) throws Error
Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.
- public void complete_start (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.
- public void complete_stop (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.
- public void emit_location_updated (string arg_old, string arg_new)
Emits the <link linkend="gdbus-signal-org-freedesktop-GeoClue2-Client.
Signals:
- public virtual signal bool handle_start (DBusMethodInvocation invocation)
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.
- public virtual signal bool handle_stop (DBusMethodInvocation invocation)
Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Client.
- public virtual signal void location_updated (string arg_old, string arg_new)
On the client-side, this signal is emitted whenever the D-Bus signal < link linkend="gdbus-signal-org-freedesktop-GeoClue2-Client.
Inherited Members:
All known members inherited from class GLib.Object