SC_LocalAchievementsController_ShouldSynchronize()

Method to check whether SC_LocalAchievementsController_Synchronize() should be called or not.

Synopsis:

#include <scoreloop/sc_local_achievements_controller.h>
 
SC_DEPRECATED SC_PUBLISHED SC_Bool_t SC_LocalAchievementsController_ShouldSynchronize(SC_LocalAchievementsController_h self)

Since:

BlackBerry 10.0.0

Deprecated in BlackBerry 10.3.0

Arguments:

self

SC_LocalAchievementsController instance handle

Library:

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

Description:

This method checks whether synchronization with Scoreloop server should be performed or not. Synchronization should occur if the local database has never been synchronized with the server, or if an award has been achieved since the last synchronization.

This method returns true only when synchronization is needed and a synchronization is not already in progress, it returns false otherwise.

Returns:

SC_Bool_t SC_TRUE if synchronize should be called, otherwise SC_FALSE.

Last modified: 2014-06-24



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

comments powered by Disqus