Package ch.bailu.gtk.geoclue
Klasse Manager
- Alle implementierten Schnittstellen:
PointerInterface
Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link>.
https://www.freedesktop.org/software/geoclue/docs/libgeoclue/
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
static interface
static interface
static interface
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
static final String
static final String
static final String
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
callAddAgent
(Str arg_id, Cancellable cancellable, Manager.OnAsyncReadyCallback callback, Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method on @proxy.void
callAddAgent
(String arg_id, Cancellable cancellable, Manager.OnAsyncReadyCallback callback, Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method on @proxy.boolean
Finishes an operation started with gclue_manager_call_add_agent().boolean
callAddAgentSync
(Str arg_id, Cancellable cancellable) Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method on @proxy.boolean
callAddAgentSync
(String arg_id, Cancellable cancellable) Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method on @proxy.void
callCreateClient
(Cancellable cancellable, Manager.OnAsyncReadyCallback callback, Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.CreateClient">CreateClient()</link> D-Bus method on @proxy.void
callDeleteClient
(Str arg_client, Cancellable cancellable, Manager.OnAsyncReadyCallback callback, Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method on @proxy.void
callDeleteClient
(String arg_client, Cancellable cancellable, Manager.OnAsyncReadyCallback callback, Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method on @proxy.boolean
Finishes an operation started with gclue_manager_call_delete_client().boolean
callDeleteClientSync
(Str arg_client, Cancellable cancellable) Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method on @proxy.boolean
callDeleteClientSync
(String arg_client, Cancellable cancellable) Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method on @proxy.void
callGetClient
(Cancellable cancellable, Manager.OnAsyncReadyCallback callback, Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.GetClient">GetClient()</link> D-Bus method on @proxy.void
completeAddAgent
(DBusMethodInvocation invocation) Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method.void
completeCreateClient
(DBusMethodInvocation invocation, Str client) Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.CreateClient">CreateClient()</link> D-Bus method.void
completeCreateClient
(DBusMethodInvocation invocation, String client) Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.CreateClient">CreateClient()</link> D-Bus method.void
completeDeleteClient
(DBusMethodInvocation invocation) Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method.void
completeGetClient
(DBusMethodInvocation invocation, Str client) Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.GetClient">GetClient()</link> D-Bus method.void
completeGetClient
(DBusMethodInvocation invocation, String client) Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.GetClient">GetClient()</link> D-Bus method.int
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link> D-Bus property.static ClassHandler
static int
boolean
getInUse()
Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link> D-Bus property.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
static DBusInterfaceInfo
Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link> D-Bus interface.Connect to signal "handle-add-agent".Connect to signal "handle-create-client".Connect to signal "handle-delete-client".Connect to signal "handle-get-client".static int
overrideProperties
(ObjectClass klass, int property_id_begin) Overrides all #GObject properties in the #GClueManager interface for a concrete class.void
setAvailableAccuracyLevel
(int value) Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link> D-Bus property to @value.void
setInUse
(boolean value) Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link> D-Bus property to @value.Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
SIGNAL_ON_HANDLE_ADD_AGENT
- Siehe auch:
-
SIGNAL_ON_HANDLE_CREATE_CLIENT
- Siehe auch:
-
SIGNAL_ON_HANDLE_DELETE_CLIENT
- Siehe auch:
-
SIGNAL_ON_HANDLE_GET_CLIENT
- Siehe auch:
-
-
Konstruktordetails
-
Manager
-
-
Methodendetails
-
getClassHandler
-
callAddAgent
public void callAddAgent(@Nonnull Str arg_id, @Nullable Cancellable cancellable, Manager.OnAsyncReadyCallback callback, @Nullable Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> 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 gclue_manager_call_add_agent_finish() to get the result of the operation.
See gclue_manager_call_add_agent_sync() for the synchronous, blocking version of this method.- Parameter:
arg_id
- Argument to pass with the method invocation.cancellable
- A #GCancellable or %NULL.callback
- A #GAsyncReadyCallback to call when the request is satisfied or %NULL.user_data
- User data to pass to @callback.
-
callAddAgent
public void callAddAgent(String arg_id, @Nullable Cancellable cancellable, Manager.OnAsyncReadyCallback callback, @Nullable Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> 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 gclue_manager_call_add_agent_finish() to get the result of the operation.
See gclue_manager_call_add_agent_sync() for the synchronous, blocking version of this method.- Parameter:
arg_id
- Argument to pass with the method invocation.cancellable
- A #GCancellable or %NULL.callback
- A #GAsyncReadyCallback to call when the request is satisfied or %NULL.user_data
- User data to pass to @callback.
-
callAddAgentFinish
Finishes an operation started with gclue_manager_call_add_agent().- Parameter:
res
- The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_manager_call_add_agent().- Gibt zurück:
- %TRUE if the call succeeded, %FALSE if @error is set.
- Löst aus:
AllocationError
-
callAddAgentSync
public boolean callAddAgentSync(@Nonnull Str arg_id, @Nullable Cancellable cancellable) throws AllocationError Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
See gclue_manager_call_add_agent() for the asynchronous version of this method.- Parameter:
arg_id
- Argument to pass with the method invocation.cancellable
- A #GCancellable or %NULL.- Gibt zurück:
- %TRUE if the call succeeded, %FALSE if @error is set.
- Löst aus:
AllocationError
-
callAddAgentSync
public boolean callAddAgentSync(String arg_id, @Nullable Cancellable cancellable) throws AllocationError Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
See gclue_manager_call_add_agent() for the asynchronous version of this method.- Parameter:
arg_id
- Argument to pass with the method invocation.cancellable
- A #GCancellable or %NULL.- Gibt zurück:
- %TRUE if the call succeeded, %FALSE if @error is set.
- Löst aus:
AllocationError
-
callCreateClient
public void callCreateClient(@Nullable Cancellable cancellable, Manager.OnAsyncReadyCallback callback, @Nullable Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.CreateClient">CreateClient()</link> 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 gclue_manager_call_create_client_finish() to get the result of the operation.
See gclue_manager_call_create_client_sync() for the synchronous, blocking version of this method.- Parameter:
cancellable
- A #GCancellable or %NULL.callback
- A #GAsyncReadyCallback to call when the request is satisfied or %NULL.user_data
- User data to pass to @callback.
-
callDeleteClient
public void callDeleteClient(@Nonnull Str arg_client, @Nullable Cancellable cancellable, Manager.OnAsyncReadyCallback callback, @Nullable Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> 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 gclue_manager_call_delete_client_finish() to get the result of the operation.
See gclue_manager_call_delete_client_sync() for the synchronous, blocking version of this method.- Parameter:
arg_client
- Argument to pass with the method invocation.cancellable
- A #GCancellable or %NULL.callback
- A #GAsyncReadyCallback to call when the request is satisfied or %NULL.user_data
- User data to pass to @callback.
-
callDeleteClient
public void callDeleteClient(String arg_client, @Nullable Cancellable cancellable, Manager.OnAsyncReadyCallback callback, @Nullable Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> 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 gclue_manager_call_delete_client_finish() to get the result of the operation.
See gclue_manager_call_delete_client_sync() for the synchronous, blocking version of this method.- Parameter:
arg_client
- Argument to pass with the method invocation.cancellable
- A #GCancellable or %NULL.callback
- A #GAsyncReadyCallback to call when the request is satisfied or %NULL.user_data
- User data to pass to @callback.
-
callDeleteClientFinish
Finishes an operation started with gclue_manager_call_delete_client().- Parameter:
res
- The #GAsyncResult obtained from the #GAsyncReadyCallback passed to gclue_manager_call_delete_client().- Gibt zurück:
- %TRUE if the call succeeded, %FALSE if @error is set.
- Löst aus:
AllocationError
-
callDeleteClientSync
public boolean callDeleteClientSync(@Nonnull Str arg_client, @Nullable Cancellable cancellable) throws AllocationError Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
See gclue_manager_call_delete_client() for the asynchronous version of this method.- Parameter:
arg_client
- Argument to pass with the method invocation.cancellable
- A #GCancellable or %NULL.- Gibt zurück:
- %TRUE if the call succeeded, %FALSE if @error is set.
- Löst aus:
AllocationError
-
callDeleteClientSync
public boolean callDeleteClientSync(String arg_client, @Nullable Cancellable cancellable) throws AllocationError Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
See gclue_manager_call_delete_client() for the asynchronous version of this method.- Parameter:
arg_client
- Argument to pass with the method invocation.cancellable
- A #GCancellable or %NULL.- Gibt zurück:
- %TRUE if the call succeeded, %FALSE if @error is set.
- Löst aus:
AllocationError
-
callGetClient
public void callGetClient(@Nullable Cancellable cancellable, Manager.OnAsyncReadyCallback callback, @Nullable Pointer user_data) Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.GetClient">GetClient()</link> 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 gclue_manager_call_get_client_finish() to get the result of the operation.
See gclue_manager_call_get_client_sync() for the synchronous, blocking version of this method.- Parameter:
cancellable
- A #GCancellable or %NULL.callback
- A #GAsyncReadyCallback to call when the request is satisfied or %NULL.user_data
- User data to pass to @callback.
-
completeAddAgent
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.AddAgent">AddAgent()</link> 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.
This method will free @invocation, you cannot use it afterwards.- Parameter:
invocation
- A #GDBusMethodInvocation.
-
completeCreateClient
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.CreateClient">CreateClient()</link> 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.
This method will free @invocation, you cannot use it afterwards.- Parameter:
invocation
- A #GDBusMethodInvocation.client
- Parameter to return.
-
completeCreateClient
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.CreateClient">CreateClient()</link> 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.
This method will free @invocation, you cannot use it afterwards.- Parameter:
invocation
- A #GDBusMethodInvocation.client
- Parameter to return.
-
completeDeleteClient
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.DeleteClient">DeleteClient()</link> 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.
This method will free @invocation, you cannot use it afterwards.- Parameter:
invocation
- A #GDBusMethodInvocation.
-
completeGetClient
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.GetClient">GetClient()</link> 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.
This method will free @invocation, you cannot use it afterwards.- Parameter:
invocation
- A #GDBusMethodInvocation.client
- Parameter to return.
-
completeGetClient
Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-GeoClue2-Manager.GetClient">GetClient()</link> 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.
This method will free @invocation, you cannot use it afterwards.- Parameter:
invocation
- A #GDBusMethodInvocation.client
- Parameter to return.
-
getAvailableAccuracyLevel
public int getAvailableAccuracyLevel()Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.- Gibt zurück:
- The property value.
-
getInUse
public boolean getInUse()Gets the value of the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link> D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.- Gibt zurück:
- The property value.
-
setAvailableAccuracyLevel
public void setAvailableAccuracyLevel(int value) Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.AvailableAccuracyLevel">"AvailableAccuracyLevel"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.- Parameter:
value
- The value to set.
-
setInUse
public void setInUse(boolean value) Sets the <link linkend="gdbus-property-org-freedesktop-GeoClue2-Manager.InUse">"InUse"</link> D-Bus property to @value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.- Parameter:
value
- The value to set.
-
onHandleAddAgent
Connect to signal "handle-add-agent".
SeeManager.OnHandleAddAgent.onHandleAddAgent(ch.bailu.gtk.gio.DBusMethodInvocation, ch.bailu.gtk.type.Str)
for signal description.
FieldSIGNAL_ON_HANDLE_ADD_AGENT
contains original signal name and can be used as resource reference.- Parameter:
signal
- callback function (lambda).- Gibt zurück:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
onHandleCreateClient
Connect to signal "handle-create-client".
SeeManager.OnHandleCreateClient.onHandleCreateClient(ch.bailu.gtk.gio.DBusMethodInvocation)
for signal description.
FieldSIGNAL_ON_HANDLE_CREATE_CLIENT
contains original signal name and can be used as resource reference.- Parameter:
signal
- callback function (lambda).- Gibt zurück:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
onHandleDeleteClient
Connect to signal "handle-delete-client".
SeeManager.OnHandleDeleteClient.onHandleDeleteClient(ch.bailu.gtk.gio.DBusMethodInvocation, ch.bailu.gtk.type.Str)
for signal description.
FieldSIGNAL_ON_HANDLE_DELETE_CLIENT
contains original signal name and can be used as resource reference.- Parameter:
signal
- callback function (lambda).- Gibt zurück:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
onHandleGetClient
Connect to signal "handle-get-client".
SeeManager.OnHandleGetClient.onHandleGetClient(ch.bailu.gtk.gio.DBusMethodInvocation)
for signal description.
FieldSIGNAL_ON_HANDLE_GET_CLIENT
contains original signal name and can be used as resource reference.- Parameter:
signal
- callback function (lambda).- Gibt zurück:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
interfaceInfo
Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-GeoClue2-Manager.top_of_page">org.freedesktop.GeoClue2.Manager</link> D-Bus interface.- Gibt zurück:
- A #GDBusInterfaceInfo. Do not free.
-
overrideProperties
Overrides all #GObject properties in the #GClueManager interface for a concrete class.
The properties are overridden in the order they are defined.- Parameter:
klass
- The class structure for a #GObject derived class.property_id_begin
- The property id to assign to the first overridden property.- Gibt zurück:
- The last property id.
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-