SC_ChallengesController_GetChallenges()

Returns the list of all challenges that have been requested from the server.

Synopsis:

#include <scoreloop/sc_challenges_controller.h>
 
SC_DEPRECATED SC_PUBLISHED SC_ChallengeList_h SC_ChallengesController_GetChallenges(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 list will contain either the list of all open challenges available to the user to play, or the list of user's past chellenges, depending on the type of request made by the controller.

If this method is called before a request to the server has been made, an empty list will be returned.

Returns:

SC_ChallengeList_h The list of challenges that have been retrieved from the server.

See also:

SC_ChallengesController_LoadOpenChallenges(), SC_ChallengesController_LoadChallengeHistory().

Last modified: 2014-06-24



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

comments powered by Disqus