SC_LocalAchievementsController_ResetValueForAwardIdentifier()

This method resets the value of the award to its initial starting value.

Synopsis:

#include <scoreloop/sc_local_achievements_controller.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Error_t SC_LocalAchievementsController_ResetValueForAwardIdentifier(SC_LocalAchievementsController_h self, const char *awardIdentifier, SC_Bool_t *pGetAchieved)

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

SC_LocalAchievementsController instance handle

awardIdentifier

The unique reverse DNS string chosen by the developer and used by Scoreloop to identify the award.

pGetAchieved

Returns SC_TRUE if the value has been reset, otherwise SC_FALSE.

Library:

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

Description:

Method to reset the value of the award to the initial value. Note that in cases where the award has already been achieved, it cannot be reset.

Returns:

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

Last modified: 2014-09-29



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

comments powered by Disqus