SC_ScoresController_LoadScoresAtRank()

Starts loading the range of scores beginning at a given rank.

Synopsis:

#include <scoreloop/sc_scores_controller.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Error_t SC_ScoresController_LoadScoresAtRank(SC_ScoresController_h self, unsigned int rank, unsigned int rangeLength)

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

An opaque handle for the current controller instance.

rank

The starting position of the range (numbered from 1, the first score to load).

rangeLength

The length of the range requested.

Library:

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

Description:

Requests the list beginning at the given rank. The rank refers to a score's position on the global leaderboard. All lists start at 1, therefore the minimum rank possible is 1.

Note that this is an asynchronous call and a callback will be triggered, after which you can access the retrieved scores by calling SC_ScoresController_GetScores().

Returns:

SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error. For more error codes see here).

Last modified: 2014-06-24



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

comments powered by Disqus