SC_ChallengeController_SubmitChallenge()

Submits the challenge to the server.

Synopsis:

#include <scoreloop/sc_challenge_controller.h>
 
SC_Error_t SC_ChallengeController_SubmitChallenge(SC_ChallengeController_h self)

Arguments:

self

An opaque handle of the challenge controller instance.

Library:

libscoreloopcore

Description:

If the challenge is unknown to the server, it will be registered and assigned a unique identifier. If the challenge is already known to the server, calling this method will update the challenge details. If there are consistency errors a SC_REQUEST_FAILED (=104) error will be returned to the delegate.

Note that this is an asynchronous call and a callback will be triggered, which would indicate if the submission was successful or not.

Returns:

SC_Error_t A return code (A value of SC_OK indicates success, any other value indicates an error).

Last modified: 2013-12-21

comments powered by Disqus