Goa.MapsProxy¶
- Subclasses:
 None
Methods¶
- Inherited:
 Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2), Goa.Maps (2)
- Structs:
 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
Virtual Methods¶
Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent_instance  | 
r  | 
Class Details¶
- class Goa.MapsProxy(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
The
Goa.MapsProxystructure contains only private data and should only be accessed using the provided API.New in version 3.14.0.
Deprecated since version ???: The D-Bus interface has been deprecated.
- classmethod new(connection, flags, name, object_path, cancellable, callback, *user_data)¶
 - Parameters:
 connection (
Gio.DBusConnection) – AGio.DBusConnection.flags (
Gio.DBusProxyFlags) – Flags from theGio.DBusProxyFlagsenumeration.name (
strorNone) – A bus name (well-known or unique) orNoneif connection is not a message bus connection.object_path (
str) – An object path.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously creates a proxy for the D-Bus interface ‘org.gnome.OnlineAccounts.Maps [gdbus-interface-org-gnome-OnlineAccounts-Maps.top_of_page]’. See
Gio.DBusProxy.new() for more details.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
GLib.MainContext.push_thread_default()). You can then callGoa.MapsProxy.new_finish() to get the result of the operation.See
Goa.MapsProxy.new_sync() for the synchronous, blocking version of this constructor.New in version 3.14.0.
Deprecated since version ???: The D-Bus interface has been deprecated.
- classmethod new_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGoa.MapsProxy.new().- Raises:
 - Returns:
 The constructed proxy object or
Noneif error is set.- Return type:
 
Finishes an operation started with
Goa.MapsProxy.new().New in version 3.14.0.
Deprecated since version ???: The D-Bus interface has been deprecated.
- classmethod new_for_bus(bus_type, flags, name, object_path, cancellable, callback, *user_data)¶
 - Parameters:
 bus_type (
Gio.BusType) – AGio.BusType.flags (
Gio.DBusProxyFlags) – Flags from theGio.DBusProxyFlagsenumeration.name (
str) – A bus name (well-known or unique).object_path (
str) – An object path.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied.
Like
Goa.MapsProxy.new() but takes aGio.BusTypeinstead of aGio.DBusConnection.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
GLib.MainContext.push_thread_default()). You can then callGoa.MapsProxy.new_for_bus_finish() to get the result of the operation.See
Goa.MapsProxy.new_for_bus_sync() for the synchronous, blocking version of this constructor.New in version 3.14.0.
Deprecated since version ???: The D-Bus interface has been deprecated.
- classmethod new_for_bus_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toGoa.MapsProxy.new_for_bus().- Raises:
 - Returns:
 The constructed proxy object or
Noneif error is set.- Return type:
 
Finishes an operation started with
Goa.MapsProxy.new_for_bus().New in version 3.14.0.
Deprecated since version ???: The D-Bus interface has been deprecated.
- classmethod new_for_bus_sync(bus_type, flags, name, object_path, cancellable)¶
 - Parameters:
 bus_type (
Gio.BusType) – AGio.BusType.flags (
Gio.DBusProxyFlags) – Flags from theGio.DBusProxyFlagsenumeration.name (
str) – A bus name (well-known or unique).object_path (
str) – An object path.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
 - Returns:
 The constructed proxy object or
Noneif error is set.- Return type:
 
Like
Goa.MapsProxy.new_sync() but takes aGio.BusTypeinstead of aGio.DBusConnection.The calling thread is blocked until a reply is received.
See
Goa.MapsProxy.new_for_bus() for the asynchronous version of this constructor.New in version 3.14.0.
Deprecated since version ???: The D-Bus interface has been deprecated.
- classmethod new_sync(connection, flags, name, object_path, cancellable)¶
 - Parameters:
 connection (
Gio.DBusConnection) – AGio.DBusConnection.flags (
Gio.DBusProxyFlags) – Flags from theGio.DBusProxyFlagsenumeration.name (
strorNone) – A bus name (well-known or unique) orNoneif connection is not a message bus connection.object_path (
str) – An object path.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
 - Returns:
 The constructed proxy object or
Noneif error is set.- Return type:
 
Synchronously creates a proxy for the D-Bus interface ‘org.gnome.OnlineAccounts.Maps [gdbus-interface-org-gnome-OnlineAccounts-Maps.top_of_page]’. See
Gio.DBusProxy.new_sync() for more details.The calling thread is blocked until a reply is received.
See
Goa.MapsProxy.new() for the asynchronous version of this constructor.New in version 3.14.0.
Deprecated since version ???: The D-Bus interface has been deprecated.