Object to get and manipulate challenges.
Methods
-
<static> get(challengeInstanceId, challengeConfigId) → {module:Scoreflex.SDK.ChallengeInstance}
-
Request a challenge and call the onload handler with a module:Scoreflex.SDK.ChallengeInstance object.
Parameters:
Name Type Description challengeInstanceId
string Challenge instance ID
challengeConfigId
string Challenge configuration ID
Returns:
-
<static> showChallenges(parameters, options)
-
Display a web client with the list of challenges of the player.
Parameters:
Name Type Description parameters
object key/value pair of query string parameters
options
object key/value pair of WebClient options