Interface
GoaManager
Description [src]
interface Goa.Manager : GObject.Object
Abstract interface type for the D-Bus interface org.gnome.OnlineAccounts.Manager.
Prerequisite
In order to implement Manager, your type must inherit fromGObject
.
Functions
goa_manager_interface_info
Gets a machine-readable description of the org.gnome.OnlineAccounts.Manager D-Bus interface.
goa_manager_override_properties
Overrides all GObject
properties in the GoaManager
interface for a concrete class.
The properties are overridden in the order they are defined.
Instance methods
goa_manager_call_add_account
Asynchronously invokes the AddAccount() 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 goa_manager_call_add_account_finish()
to get the result of the operation.
goa_manager_call_add_account_finish
Finishes an operation started with goa_manager_call_add_account().
goa_manager_call_add_account_sync
Synchronously invokes the AddAccount() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
goa_manager_call_is_supported_provider
Asynchronously invokes the IsSupportedProvider() 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 goa_manager_call_is_supported_provider_finish()
to get the result of the operation.
goa_manager_call_is_supported_provider_finish
Finishes an operation started with goa_manager_call_is_supported_provider().
goa_manager_call_is_supported_provider_sync
Synchronously invokes the IsSupportedProvider() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
goa_manager_complete_add_account
Helper function used in service implementations to finish handling invocations of the AddAccount() 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.
goa_manager_complete_is_supported_provider
Helper function used in service implementations to finish handling invocations of the IsSupportedProvider() 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.
Signals
Goa.Manager::handle-add-account
Signal emitted when a remote caller is invoking the AddAccount() D-Bus method.
Goa.Manager::handle-is-supported-provider
Signal emitted when a remote caller is invoking the IsSupportedProvider() D-Bus method.
Interface structure
struct GoaManagerIface {
GTypeInterface parent_iface;
gboolean (* handle_add_account) (
GoaManager* object,
GDBusMethodInvocation* invocation,
const gchar* arg_provider,
const gchar* arg_identity,
const gchar* arg_presentation_identity,
GVariant* arg_credentials,
GVariant* arg_details
);
gboolean (* handle_is_supported_provider) (
GoaManager* object,
GDBusMethodInvocation* invocation,
const gchar* arg_provider_type
);
}
Virtual table for the D-Bus interface org.gnome.OnlineAccounts.Manager.
Interface members
parent_iface |
|
The parent interface. |
|
handle_add_account |
|
Handler for the |
|
handle_is_supported_provider |
|
Handler for the |
Virtual methods
Goa.Manager.handle_is_supported_provider
Handler for the GoaManager::handle-is-supported-provider
signal.