SC_UserController_LoadUserContext()

Requests the context of the user.

Synopsis:

#include <scoreloop/sc_user_controller.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Error_t SC_UserController_LoadUserContext(SC_UserController_h self)

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

SC_UserController instance handle

Library:

libscoreloopcore (For the qcc command, use the -l scoreloopcore option to link against this library)

Description:

If no user has been explicitly set, the context for the session user will be requested instead. After a successful request, you can access the context by calling SC_User's SC_User_GetContext().

Note that this is an asynchronous call and a callback will be triggered.

Returns:

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

See also:

SC_User

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus