SC_ChallengesController_LoadChallengeHistory()

Requests the challenges associated with the current session user.

Synopsis:

#include <scoreloop/sc_challenges_controller.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Error_t SC_ChallengesController_LoadChallengeHistory(SC_ChallengesController_h self)

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

SC_ChallengesController instance handle

Library:

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

Description:

This method has been deprecated, use SC_ChallengesController_LoadPastChallenges instead.

Method that requests the challenges associated with the current session user. These include:
  • All completed challenges, and
  • Any direct challenges created by the user.

Only the first 8 challenges are returned by this method - use SC_ChallengesController_LoadPastChallenges() to load more data.

Note that this is an asynchronous call and a callback will be triggered, after which you may access the retrieved/loaded challenges using SC_ChallengesController_GetChallenges().

Returns:

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

See also:

SC_ChallengesController_LoadPastChallenges()

Last modified: 2014-06-24



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

comments powered by Disqus