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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref