| Top |  |  |  |  | 
| void | tp_room_list_new_async () | 
| TpRoomList * | tp_room_list_new_finish () | 
| gboolean | tp_room_list_is_listing () | 
| const gchar * | tp_room_list_get_server () | 
| TpAccount * | tp_room_list_get_account () | 
| void | tp_room_list_start () | 
void tp_room_list_new_async (TpAccount *account,const gchar *server,GAsyncReadyCallback callback,gpointer user_data);
| account | a TpAccount for the room listing | |
| server | the DNS name of the server whose rooms should listed | |
| callback | a GAsyncReadyCallback to call when the initialization is finished | |
| user_data | data to pass to the callback function | 
Since: 0.19.0
TpRoomList * tp_room_list_new_finish (GAsyncResult *result,GError **error);
| result | the GAsyncResult from the callback | |
| error | a GError location to store an error, or  | 
Since: 0.19.0
gboolean
tp_room_list_is_listing (TpRoomList *self);
Return the “listing” property
Since: 0.19.0
const gchar *
tp_room_list_get_server (TpRoomList *self);
Return the “server” property
Since: 0.19.0
TpAccount *
tp_room_list_get_account (TpRoomList *self);
Return the “account” property
Since: 0.19.0
void
tp_room_list_start (TpRoomList *self);
Start listing rooms using self
. Use the TpRoomList::got-rooms
signal to get the rooms found.
Errors will be reported using the TpRoomList::failed signal.
Since: 0.19.0
“account” property“account” TpAccount *
The TpAccount to use for the room listing.
Owner: TpRoomList
Flags: Read / Write / Construct Only
Since: 0.19.0
“listing” property  “listing”                  gboolean
TRUE if the channel is currently listing rooms.
This property is meaningless until the
TP_ROOM_LIST_FEATURE_LISTING feature has been prepared.
Owner: TpRoomList
Flags: Read
Default value: FALSE
Since: 0.19.0
“failed” signalvoid user_function (TpRoomList *self, GError *error, gpointer user_data)
Fired when something goes wrong while listing the channels; see error
for details.
| self | ||
| error | a GError indicating the reason of the error | |
| user_data | user data set when the signal handler was connected. | 
Flags: Run Last
Since: 0.19.0
“got-room” signalvoid user_function (TpRoomList *self, TpRoomInfo *room, gpointer user_data)
Fired each time a room is found during the listing process.
User should take his own reference on room
 if he plans to
continue using it once the signal callback has returned.
Flags: Run Last
Since: 0.19.0