Example #1
0
    // get step on specific date if the step is available and save if not zero
    public void GetStepByDate(int month, int day, int year)
    {
        // if there's no step save return 0 here
        int stepCount = pedometerPlugin.GetStepByDate(month, day, year);

        Debug.Log(demoName + "get step by date stepCount: " + stepCount + " on " + month + "/" + day + "/" + year);

        UpdateStepCountByDate(stepCount);
    }
Example #2
0
    // get step on specific date if the step is available and save if not zero
    public void GetStepByDate(int month, int day, int year)
    {
        int stepCount = pedometerPlugin.GetStepByDate(month, day, year);

        Debug.Log(demoName + "stepCount: " + stepCount + " on " + month + "/" + day + "/" + year);
    }