Method
PhoshNotifyDBusNotificationscall_notify
Declaration [src]
void
phosh_notify_dbus_notifications_call_notify (
PhoshNotifyDBusNotifications* proxy,
const gchar* arg_app_name,
guint arg_replaces_id,
const gchar* arg_app_icon,
const gchar* arg_summary,
const gchar* arg_body,
const gchar* const* arg_actions,
GVariant* arg_hints,
gint arg_expire_timeout,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously invokes the Notify() 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 phosh_notify_dbus_notifications_call_notify_finish() to get the result of the operation.
See phosh_notify_dbus_notifications_call_notify_sync() for the synchronous, blocking version of this method.
This method completes asynchronously. Use phosh_notify_dbus_notifications_call_notify_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
arg_app_name-
Type:
const gchar*Argument to pass with the method invocation.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. arg_replaces_id-
Type:
guintArgument to pass with the method invocation.
arg_app_icon-
Type:
const gchar*Argument to pass with the method invocation.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. arg_summary-
Type:
const gchar*Argument to pass with the method invocation.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. arg_body-
Type:
const gchar*Argument to pass with the method invocation.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. arg_actions-
Type:
const gchar* const*Argument to pass with the method invocation.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. arg_hints-
Type:
GVariantArgument to pass with the method invocation.
The data is owned by the caller of the method. arg_expire_timeout-
Type:
gintArgument to pass with the method invocation.
cancellable-
Type:
GCancellableA
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request is satisfied orNULL.The argument can be NULL. user_data-
Type:
gpointerUser data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.