SC_User_SetImageFromExternalService()
Sets the user's image from an external source.
Synopsis:
#include <scoreloop/sc_user.h>
SC_Error_t SC_User_SetImageFromExternalService(SC_User_h self, SC_UserImageSource_t source)
Arguments:
- self
-
An opaque handle for the current SC_User instance.
- source
-
Correct external source value
Library:
libscoreloopcoreDescription:
After calling this method, the previous image becomes outdated, and GetImageUrl returns NULL. The request is sent to the server after a UserController calls UpdateUser. The image is updated on the server side asynchronously.
Returns:
SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error).