Exemple #1
0
        void _client_OneTimePedometerUpdated(object sender, PedometerUpdatedEventArgs e)
        {
            _client.SensorUnsubscribe(SensorType.Pedometer);

            TotalSteps     = e.TotalSteps;
            TotalMovements = e.TotalMovements;

            _client.PedometerUpdated -= _client_OneTimePedometerUpdated;
        }