Method
CMClientjoin_room_async
Declaration [src]
void
cm_client_join_room_async (
  CmClient* self,
  const char* id_or_alias,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)
      Description [src]
Tries to join a room by it’s room id.
Run cm_client_join_room_finish() to get the result.
Parameters
id_or_alias- 
            
Type:
const char*The id or alias of the room to join.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.  cancellable- 
            
Type:
GCancellableOptional
GCancellableobject,NULLto ignore.The argument can be NULL.The data is owned by the caller of the method.  callback- 
            
Type:
GAsyncReadyCallbackThe callback to invoke.
The argument can be NULL. user_data- 
            
Type:
gpointerThe user data for
callback.The argument can be NULL.The data is owned by the caller of the method.