SC_Client_CreateChallengesController()

Creates a challenges controller, which can be used to retrieve the lists of challenges on behalf of the current session user from the Scoreloop servers.

Synopsis:

#include <scoreloop/sc_client.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Error_t SC_Client_CreateChallengesController(SC_Client_h self, SC_ChallengesController_h *pChallengesController, SC_RequestControllerCompletionCallback_t callback, void *cookie)

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

Opaque handle for the current client instance.

pChallengesController

Opaque handle for the controller that will be created.

callback

Handle to be registered for callback

cookie

This will be passed back to the controller's callback and using this, users can use the same callback for multiple controllers if they wish to.

Library:

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

Description:

This method creates an instance of SC_ChallengesController. The controller is used to retrieve the lists of challenges on behalf of the current session user from the Scoreloop servers

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