Changes

Jump to: navigation, search

CloudServices/Sync/FxSync/Developer/ClientAPI

2 bytes removed, 08:54, 29 October 2010
The Score: Trackers should not change the private _score property
=== The Score ===
The '''score''' is stored in <tt>this._scorescore</tt>, a variable defined by the base Tracker class. Set your score by assigning a value to <tt>this._scorescore</tt>.
The score number is used by the scheduler to decide when your engine will be synced. Setting it to zero means "I have no need to sync". The higher you set this number, the more urgently the scheduler treats your request. Setting it to 100 means "Sync me immediately". It's up to you to figure out the best way to assign a score based on the current state of whatever data type you're tracking.

Navigation menu