示例#1
0
        // Sends all outstanding updates to the watch, and reset the update Dictionary
        private void FlushMessages()
        {
            var updates = watchUpdates;

            watchUpdates = new Dictionary <WatchMessage, object>();

            IWatch watchService = DependencyService.Get <IWatch>();

            watchService.SendWatchMessages(updates);
        }