SC_User_GetOutdatedContext()

Returns the context sent to the server.

Synopsis:

#include <scoreloop/sc_user.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Context_h SC_User_GetOutdatedContext(SC_User_h self)

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

An opaque handle for the current SC_User instance.

Library:

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

Description:

This property is valid when the callback of SC_UserController_UpdateUserContext() is called with SC_CONTEXT_VERSION_MISMATCH. In this case, SC_User_GetOutdatedContext() contains the old context that was sent to the server and which caused an error, SC_User_GetContext() returns a new context that was returned by the server.

Returns:

SC_Context_h Old context

Last modified: 2014-06-24



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

comments powered by Disqus