SC_ScoresController_LoadScoresAroundUser()

Requests the list of scores that includes the high score of the user in the middle.

Synopsis:

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

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

An opaque handle for the current controller instance.

user

The user whose top score appears in the middle of the retrieved list.

rangeLength

The length of the range requested.

Library:

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

Description:

This method returns the list of scores that includes the high score of the user in the middle.

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

Last modified: 2014-06-24



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

comments powered by Disqus