SC_ScoresController_SetMode()

Set the game mode used for subsequent requests.

Synopsis:

#include <scoreloop/sc_scores_controller.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Error_t SC_ScoresController_SetMode(SC_ScoresController_h self, unsigned int mode)

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

An opaque handle for the current controller instance.

mode

The mode to be set for the controller.

Library:

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

Description:

This method sets the mode for the controller. The controller will only retrieve scores whose modes match this value. If no mode is explicitly set for the controller, it will retrieve the scores for mode 0.

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