SC_UsersController_LoadBuddies()

Requests the buddy list of the user that is returned by SC_UsersController_GetUsers().

Synopsis:

#include <scoreloop/sc_users_controller.h>
 
SC_Error_t SC_UsersController_LoadBuddies(SC_UsersController_h self, SC_User_h user)

Arguments:

self

SC_UserController instance handle

user

The user whose buddy list is requested.

Library:

libscoreloopcore

Description:

If no user has been explicitly set, the buddy list of the session user is requested instead.

Note that this is an asynchronous call and a callback will be triggered. After a successful request, you can access the buddy list by calling SC_UsersController_GetUsers().

Returns:

SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error).

See also:

User

Last modified: 2013-12-23

comments powered by Disqus