SC_ChallengesController_LoadOpenChallenges()

This method requests all challenges which may be played by the current session user.

Synopsis:

#include <scoreloop/sc_challenges_controller.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Error_t SC_ChallengesController_LoadOpenChallenges(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:

The direct challenges will be requested first. If no direct challenges exist, then all open challenges will be requested.

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).

Last modified: 2014-09-29



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

comments powered by Disqus