telepathy-glib API Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <telepathy-glib/telepathy-glib.h> TpDebugMessage; struct TpDebugMessageClass; void tp_debug_client_get_messages_async (TpDebugClient *self
,GAsyncReadyCallback callback
,gpointer user_data
); GPtrArray * tp_debug_client_get_messages_finish (TpDebugClient *self
,GAsyncResult *result
,GError **error
); const gchar * tp_debug_message_get_domain (TpDebugMessage *self
); const gchar * tp_debug_message_get_category (TpDebugMessage *self
); GLogLevelFlags tp_debug_message_get_level (TpDebugMessage *self
); const gchar * tp_debug_message_get_message (TpDebugMessage *self
); GDateTime * tp_debug_message_get_time (TpDebugMessage *self
);
"category" gchar* : Read "domain" gchar* : Read "level" guint : Read "message" gchar* : Read "time" GDateTime* : Read
TpDebugMessage is a small object used to represent a debug message receive from a Telepathy component using TpDebugClient.
See also: TpDebugClient
typedef struct _TpDebugMessage TpDebugMessage;
Data structure representing a TpDebugMessage.
Since 0.19.0
struct TpDebugMessageClass { };
The class of a TpDebugMessage.
Since 0.19.0
void tp_debug_client_get_messages_async (TpDebugClient *self
,GAsyncReadyCallback callback
,gpointer user_data
);
Retrieve buffered messages from self
. Once callback
is called,
use tp_debug_client_get_messages_finish()
to retrieve the TpDebugMessage
objects.
|
a TpDebugClient |
|
callback to call when the messages have been retrieved |
|
data to pass to callback
|
Since 0.19.0
GPtrArray * tp_debug_client_get_messages_finish (TpDebugClient *self
,GAsyncResult *result
,GError **error
);
Finishes tp_debug_client_set_enabled_async()
.
|
a TpDebugClient |
|
a GAsyncResult |
|
a GError to fill |
Returns : |
a GPtrArray of TpDebugMessage, free with g_ptr_array_unref() . [transfer container][type GLib.PtrArray][element-type TelepathyGLib.DebugMessage]
|
Since 0.19.0
const gchar * tp_debug_message_get_domain (TpDebugMessage *self
);
Return the "domain" property
|
a TpDebugMessage |
Returns : |
the value of "domain" property |
Since 0.19.0
const gchar * tp_debug_message_get_category (TpDebugMessage *self
);
Return the "category" property
|
a TpDebugMessage |
Returns : |
the value of "category" property |
Since 0.19.0
GLogLevelFlags tp_debug_message_get_level (TpDebugMessage *self
);
Return the "level" property
|
a TpDebugMessage |
Returns : |
the value of "level" property |
Since 0.19.0
const gchar * tp_debug_message_get_message (TpDebugMessage *self
);
Return the "message" property
|
a TpDebugMessage |
Returns : |
the value of "message" property |
Since 0.19.0
GDateTime * tp_debug_message_get_time (TpDebugMessage *self
);
Return the "time" property
|
a TpDebugMessage |
Returns : |
the value of "time" property. [transfer none] |
Since 0.19.0
"category"
property "category" gchar* : Read
Category of the debug message, or NULL
if none was specified.
Default value: NULL
Since 0.19.0
"domain"
property "domain" gchar* : Read
Domain of the debug message.
Default value: NULL
Since 0.19.0
"level"
property "level" guint : Read
A GLogLevelFlags representing the level of the debug message.
Allowed values: <= 4294967292
Default value: 0
Since 0.19.0
"message"
property "message" gchar* : Read
Text of the debug message, stripped from its trailing whitespaces.
Default value: NULL
Since 0.19.0