Top | ![]() |
![]() |
![]() |
![]() |
GInterface ├── PhoshOfonoDBusManager ├── PhoshOfonoDBusNetworkRegistration ╰── PhoshOfonoDBusSimManager GObject ├── GDBusInterfaceSkeleton │ ├── PhoshOfonoDBusManagerSkeleton │ ├── PhoshOfonoDBusNetworkRegistrationSkeleton │ ╰── PhoshOfonoDBusSimManagerSkeleton ╰── GDBusProxy ├── PhoshOfonoDBusManagerProxy ├── PhoshOfonoDBusNetworkRegistrationProxy ╰── PhoshOfonoDBusSimManagerProxy
PhoshOfonoDBusManager requires GObject.
PhoshOfonoDBusNetworkRegistration requires GObject.
PhoshOfonoDBusSimManager requires GObject.
PhoshOfonoDBusSimManagerProxy implements GDBusInterface, GInitable, GAsyncInitable and PhoshOfonoDBusSimManager.
PhoshOfonoDBusSimManagerSkeleton implements GDBusInterface and PhoshOfonoDBusSimManager.
PhoshOfonoDBusNetworkRegistrationProxy implements GDBusInterface, GInitable, GAsyncInitable and PhoshOfonoDBusNetworkRegistration.
PhoshOfonoDBusNetworkRegistrationSkeleton implements GDBusInterface and PhoshOfonoDBusNetworkRegistration.
PhoshOfonoDBusManagerProxy implements GDBusInterface, GInitable, GAsyncInitable and PhoshOfonoDBusManager.
PhoshOfonoDBusManagerSkeleton implements GDBusInterface and PhoshOfonoDBusManager.
PhoshOfonoDBusManager is implemented by PhoshOfonoDBusManagerProxy and PhoshOfonoDBusManagerSkeleton.
PhoshOfonoDBusNetworkRegistration is implemented by PhoshOfonoDBusNetworkRegistrationProxy and PhoshOfonoDBusNetworkRegistrationSkeleton.
PhoshOfonoDBusSimManager is implemented by PhoshOfonoDBusSimManagerProxy and PhoshOfonoDBusSimManagerSkeleton.
GDBusInterfaceInfo *
phosh_ofono_dbus_sim_manager_interface_info
(void
);
Gets a machine-readable description of the org.ofono.SimManager D-Bus interface.
guint phosh_ofono_dbus_sim_manager_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the PhoshOfonoDBusSimManager interface for a concrete class. The properties are overridden in the order they are defined.
klass |
The class structure for a GObject derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
void phosh_ofono_dbus_sim_manager_complete_get_properties (PhoshOfonoDBusSimManager *object
,GDBusMethodInvocation *invocation
,GVariant *properties
);
Helper function used in service implementations to finish handling invocations of the GetProperties()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_ofono_dbus_sim_manager_emit_property_changed (PhoshOfonoDBusSimManager *object
,const gchar *arg_unnamed_arg0
,GVariant *arg_unnamed_arg1
);
Emits the "PropertyChanged" D-Bus signal.
void phosh_ofono_dbus_sim_manager_call_get_properties (PhoshOfonoDBusSimManager *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetProperties()
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 phosh_ofono_dbus_sim_manager_call_get_properties_finish()
to get the result of the operation.
See phosh_ofono_dbus_sim_manager_call_get_properties_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean phosh_ofono_dbus_sim_manager_call_get_properties_finish (PhoshOfonoDBusSimManager *proxy
,GVariant **out_properties
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_ofono_dbus_sim_manager_call_get_properties()
.
proxy |
||
out_properties |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_ofono_dbus_sim_manager_call_get_properties_sync (PhoshOfonoDBusSimManager *proxy
,GVariant **out_properties
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetProperties()
proxy
. The calling thread is blocked until a reply is received.
See phosh_ofono_dbus_sim_manager_call_get_properties()
for the asynchronous version of this method.
proxy |
||
out_properties |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_ofono_dbus_sim_manager_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates a proxy for the D-Bus interface org.ofono.SimManager. See g_dbus_proxy_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 g_main_context_push_thread_default()
).
You can then call phosh_ofono_dbus_sim_manager_proxy_new_finish()
to get the result of the operation.
See phosh_ofono_dbus_sim_manager_proxy_new_sync()
for the synchronous, blocking version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
PhoshOfonoDBusSimManager * phosh_ofono_dbus_sim_manager_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_ofono_dbus_sim_manager_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusSimManagerProxy]
PhoshOfonoDBusSimManager * phosh_ofono_dbus_sim_manager_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates a proxy for the D-Bus interface org.ofono.SimManager. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See phosh_ofono_dbus_sim_manager_proxy_new()
for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusSimManagerProxy]
void phosh_ofono_dbus_sim_manager_proxy_new_for_bus (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like phosh_ofono_dbus_sim_manager_proxy_new()
but takes a GBusType instead of a GDBusConnection.
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 phosh_ofono_dbus_sim_manager_proxy_new_for_bus_finish()
to get the result of the operation.
See phosh_ofono_dbus_sim_manager_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
PhoshOfonoDBusSimManager * phosh_ofono_dbus_sim_manager_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_ofono_dbus_sim_manager_proxy_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusSimManagerProxy]
PhoshOfonoDBusSimManager * phosh_ofono_dbus_sim_manager_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like phosh_ofono_dbus_sim_manager_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See phosh_ofono_dbus_sim_manager_proxy_new_for_bus()
for the asynchronous version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusSimManagerProxy]
PhoshOfonoDBusSimManager *
phosh_ofono_dbus_sim_manager_skeleton_new
(void
);
Creates a skeleton object for the D-Bus interface org.ofono.SimManager.
GDBusInterfaceInfo *
phosh_ofono_dbus_network_registration_interface_info
(void
);
Gets a machine-readable description of the org.ofono.NetworkRegistration D-Bus interface.
guint phosh_ofono_dbus_network_registration_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the PhoshOfonoDBusNetworkRegistration interface for a concrete class. The properties are overridden in the order they are defined.
klass |
The class structure for a GObject derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
void phosh_ofono_dbus_network_registration_complete_get_properties (PhoshOfonoDBusNetworkRegistration *object
,GDBusMethodInvocation *invocation
,GVariant *properties
);
Helper function used in service implementations to finish handling invocations of the GetProperties()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_ofono_dbus_network_registration_emit_property_changed (PhoshOfonoDBusNetworkRegistration *object
,const gchar *arg_unnamed_arg0
,GVariant *arg_unnamed_arg1
);
Emits the "PropertyChanged" D-Bus signal.
void phosh_ofono_dbus_network_registration_call_get_properties (PhoshOfonoDBusNetworkRegistration *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetProperties()
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 phosh_ofono_dbus_network_registration_call_get_properties_finish()
to get the result of the operation.
See phosh_ofono_dbus_network_registration_call_get_properties_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean phosh_ofono_dbus_network_registration_call_get_properties_finish (PhoshOfonoDBusNetworkRegistration *proxy
,GVariant **out_properties
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_ofono_dbus_network_registration_call_get_properties()
.
proxy |
||
out_properties |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_ofono_dbus_network_registration_call_get_properties_sync (PhoshOfonoDBusNetworkRegistration *proxy
,GVariant **out_properties
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetProperties()
proxy
. The calling thread is blocked until a reply is received.
See phosh_ofono_dbus_network_registration_call_get_properties()
for the asynchronous version of this method.
proxy |
||
out_properties |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_ofono_dbus_network_registration_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates a proxy for the D-Bus interface org.ofono.NetworkRegistration. See g_dbus_proxy_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 g_main_context_push_thread_default()
).
You can then call phosh_ofono_dbus_network_registration_proxy_new_finish()
to get the result of the operation.
See phosh_ofono_dbus_network_registration_proxy_new_sync()
for the synchronous, blocking version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
PhoshOfonoDBusNetworkRegistration * phosh_ofono_dbus_network_registration_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_ofono_dbus_network_registration_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusNetworkRegistrationProxy]
PhoshOfonoDBusNetworkRegistration * phosh_ofono_dbus_network_registration_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates a proxy for the D-Bus interface org.ofono.NetworkRegistration. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See phosh_ofono_dbus_network_registration_proxy_new()
for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusNetworkRegistrationProxy]
void phosh_ofono_dbus_network_registration_proxy_new_for_bus (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like phosh_ofono_dbus_network_registration_proxy_new()
but takes a GBusType instead of a GDBusConnection.
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 phosh_ofono_dbus_network_registration_proxy_new_for_bus_finish()
to get the result of the operation.
See phosh_ofono_dbus_network_registration_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
PhoshOfonoDBusNetworkRegistration * phosh_ofono_dbus_network_registration_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_ofono_dbus_network_registration_proxy_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusNetworkRegistrationProxy]
PhoshOfonoDBusNetworkRegistration * phosh_ofono_dbus_network_registration_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like phosh_ofono_dbus_network_registration_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See phosh_ofono_dbus_network_registration_proxy_new_for_bus()
for the asynchronous version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusNetworkRegistrationProxy]
PhoshOfonoDBusNetworkRegistration *
phosh_ofono_dbus_network_registration_skeleton_new
(void
);
Creates a skeleton object for the D-Bus interface org.ofono.NetworkRegistration.
GDBusInterfaceInfo *
phosh_ofono_dbus_manager_interface_info
(void
);
Gets a machine-readable description of the org.ofono.Manager D-Bus interface.
guint phosh_ofono_dbus_manager_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the PhoshOfonoDBusManager interface for a concrete class. The properties are overridden in the order they are defined.
klass |
The class structure for a GObject derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
void phosh_ofono_dbus_manager_complete_get_modems (PhoshOfonoDBusManager *object
,GDBusMethodInvocation *invocation
,GVariant *unnamed_arg0
);
Helper function used in service implementations to finish handling invocations of the GetModems()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_ofono_dbus_manager_emit_modem_added (PhoshOfonoDBusManager *object
,const gchar *arg_unnamed_arg0
,GVariant *arg_unnamed_arg1
);
Emits the "ModemAdded" D-Bus signal.
void phosh_ofono_dbus_manager_emit_modem_removed (PhoshOfonoDBusManager *object
,const gchar *arg_unnamed_arg0
);
Emits the "ModemRemoved" D-Bus signal.
void phosh_ofono_dbus_manager_call_get_modems (PhoshOfonoDBusManager *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetModems()
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 phosh_ofono_dbus_manager_call_get_modems_finish()
to get the result of the operation.
See phosh_ofono_dbus_manager_call_get_modems_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean phosh_ofono_dbus_manager_call_get_modems_finish (PhoshOfonoDBusManager *proxy
,GVariant **out_unnamed_arg0
,GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_ofono_dbus_manager_call_get_modems()
.
proxy |
||
out_unnamed_arg0 |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_ofono_dbus_manager_call_get_modems_sync (PhoshOfonoDBusManager *proxy
,GVariant **out_unnamed_arg0
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetModems()
proxy
. The calling thread is blocked until a reply is received.
See phosh_ofono_dbus_manager_call_get_modems()
for the asynchronous version of this method.
proxy |
||
out_unnamed_arg0 |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_ofono_dbus_manager_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates a proxy for the D-Bus interface org.ofono.Manager. See g_dbus_proxy_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 g_main_context_push_thread_default()
).
You can then call phosh_ofono_dbus_manager_proxy_new_finish()
to get the result of the operation.
See phosh_ofono_dbus_manager_proxy_new_sync()
for the synchronous, blocking version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
PhoshOfonoDBusManager * phosh_ofono_dbus_manager_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_ofono_dbus_manager_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusManagerProxy]
PhoshOfonoDBusManager * phosh_ofono_dbus_manager_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates a proxy for the D-Bus interface org.ofono.Manager. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See phosh_ofono_dbus_manager_proxy_new()
for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusManagerProxy]
void phosh_ofono_dbus_manager_proxy_new_for_bus (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like phosh_ofono_dbus_manager_proxy_new()
but takes a GBusType instead of a GDBusConnection.
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 phosh_ofono_dbus_manager_proxy_new_for_bus_finish()
to get the result of the operation.
See phosh_ofono_dbus_manager_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
PhoshOfonoDBusManager * phosh_ofono_dbus_manager_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_ofono_dbus_manager_proxy_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusManagerProxy]
PhoshOfonoDBusManager * phosh_ofono_dbus_manager_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like phosh_ofono_dbus_manager_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See phosh_ofono_dbus_manager_proxy_new_for_bus()
for the asynchronous version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshOfonoDBusManagerProxy]
PhoshOfonoDBusManager *
phosh_ofono_dbus_manager_skeleton_new (void
);
Creates a skeleton object for the D-Bus interface org.ofono.Manager.
struct PhoshOfonoDBusSimManagerIface { GTypeInterface parent_iface; gboolean (*handle_get_properties) ( PhoshOfonoDBusSimManager *object, GDBusMethodInvocation *invocation); void (*property_changed) ( PhoshOfonoDBusSimManager *object, const gchar *arg_unnamed_arg0, GVariant *arg_unnamed_arg1); };
Virtual table for the D-Bus interface org.ofono.SimManager.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-get-properties” signal. |
||
Handler for the “property-changed” signal. |
struct PhoshOfonoDBusSimManagerProxy;
The PhoshOfonoDBusSimManagerProxy structure contains only private data and should only be accessed using the provided API.
struct PhoshOfonoDBusSimManagerProxyClass { GDBusProxyClass parent_class; };
Class structure for PhoshOfonoDBusSimManagerProxy.
struct PhoshOfonoDBusSimManagerSkeleton;
The PhoshOfonoDBusSimManagerSkeleton structure contains only private data and should only be accessed using the provided API.
struct PhoshOfonoDBusSimManagerSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for PhoshOfonoDBusSimManagerSkeleton.
struct PhoshOfonoDBusNetworkRegistrationIface { GTypeInterface parent_iface; gboolean (*handle_get_properties) ( PhoshOfonoDBusNetworkRegistration *object, GDBusMethodInvocation *invocation); void (*property_changed) ( PhoshOfonoDBusNetworkRegistration *object, const gchar *arg_unnamed_arg0, GVariant *arg_unnamed_arg1); };
Virtual table for the D-Bus interface org.ofono.NetworkRegistration.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-get-properties” signal. |
||
Handler for the “property-changed” signal. |
struct PhoshOfonoDBusNetworkRegistrationProxy;
The PhoshOfonoDBusNetworkRegistrationProxy structure contains only private data and should only be accessed using the provided API.
struct PhoshOfonoDBusNetworkRegistrationProxyClass { GDBusProxyClass parent_class; };
Class structure for PhoshOfonoDBusNetworkRegistrationProxy.
struct PhoshOfonoDBusNetworkRegistrationSkeleton;
The PhoshOfonoDBusNetworkRegistrationSkeleton structure contains only private data and should only be accessed using the provided API.
struct PhoshOfonoDBusNetworkRegistrationSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for PhoshOfonoDBusNetworkRegistrationSkeleton.
struct PhoshOfonoDBusManagerIface { GTypeInterface parent_iface; gboolean (*handle_get_modems) ( PhoshOfonoDBusManager *object, GDBusMethodInvocation *invocation); void (*modem_added) ( PhoshOfonoDBusManager *object, const gchar *arg_unnamed_arg0, GVariant *arg_unnamed_arg1); void (*modem_removed) ( PhoshOfonoDBusManager *object, const gchar *arg_unnamed_arg0); };
Virtual table for the D-Bus interface org.ofono.Manager.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-get-modems” signal. |
||
Handler for the “modem-added” signal. |
||
Handler for the “modem-removed” signal. |
struct PhoshOfonoDBusManagerProxy;
The PhoshOfonoDBusManagerProxy structure contains only private data and should only be accessed using the provided API.
struct PhoshOfonoDBusManagerProxyClass { GDBusProxyClass parent_class; };
Class structure for PhoshOfonoDBusManagerProxy.
struct PhoshOfonoDBusManagerSkeleton;
The PhoshOfonoDBusManagerSkeleton structure contains only private data and should only be accessed using the provided API.
struct PhoshOfonoDBusManagerSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for PhoshOfonoDBusManagerSkeleton.
typedef struct _PhoshOfonoDBusManager PhoshOfonoDBusManager;
Abstract interface type for the D-Bus interface org.ofono.Manager.
typedef struct _PhoshOfonoDBusManagerProxyPrivate PhoshOfonoDBusManagerProxyPrivate;
typedef struct _PhoshOfonoDBusManagerSkeletonPrivate PhoshOfonoDBusManagerSkeletonPrivate;
typedef struct _PhoshOfonoDBusNetworkRegistration PhoshOfonoDBusNetworkRegistration;
Abstract interface type for the D-Bus interface org.ofono.NetworkRegistration.
typedef struct _PhoshOfonoDBusNetworkRegistrationProxyPrivate PhoshOfonoDBusNetworkRegistrationProxyPrivate;
typedef struct _PhoshOfonoDBusNetworkRegistrationSkeletonPrivate PhoshOfonoDBusNetworkRegistrationSkeletonPrivate;
typedef struct _PhoshOfonoDBusSimManager PhoshOfonoDBusSimManager;
Abstract interface type for the D-Bus interface org.ofono.SimManager.
typedef struct _PhoshOfonoDBusSimManagerProxyPrivate PhoshOfonoDBusSimManagerProxyPrivate;
“handle-get-modems”
signalgboolean user_function (PhoshOfonoDBusManager *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the GetModems()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call phosh_ofono_dbus_manager_complete_get_modems()
or e.g. g_dbus_method_invocation_return_error()
on it) and no other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“modem-added”
signalvoid user_function (PhoshOfonoDBusManager *object, char *arg_unnamed_arg0, GVariant *arg_unnamed_arg1, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "ModemAdded" is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
object |
||
arg_unnamed_arg0 |
Argument. |
|
arg_unnamed_arg1 |
Argument. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“modem-removed”
signalvoid user_function (PhoshOfonoDBusManager *object, char *arg_unnamed_arg0, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "ModemRemoved" is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
object |
||
arg_unnamed_arg0 |
Argument. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-get-properties”
signalgboolean user_function (PhoshOfonoDBusNetworkRegistration *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the GetProperties()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call phosh_ofono_dbus_network_registration_complete_get_properties()
or e.g. g_dbus_method_invocation_return_error()
on it) and no other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“property-changed”
signalvoid user_function (PhoshOfonoDBusNetworkRegistration *object, char *arg_unnamed_arg0, GVariant *arg_unnamed_arg1, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "PropertyChanged" is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
object |
||
arg_unnamed_arg0 |
Argument. |
|
arg_unnamed_arg1 |
Argument. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-get-properties”
signalgboolean user_function (PhoshOfonoDBusSimManager *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the GetProperties()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call phosh_ofono_dbus_sim_manager_complete_get_properties()
or e.g. g_dbus_method_invocation_return_error()
on it) and no other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“property-changed”
signalvoid user_function (PhoshOfonoDBusSimManager *object, char *arg_unnamed_arg0, GVariant *arg_unnamed_arg1, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "PropertyChanged" is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
object |
||
arg_unnamed_arg0 |
Argument. |
|
arg_unnamed_arg1 |
Argument. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last