Client
Object Hierarchy:
Description:
[
CCode ( type_id =
"gclue_client_get_type ()" ) ]
public interface Client :
Object
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:
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:
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