private void StopRecordingData() { if (StudentIsRecording == true) { mySpeechManager.Speech.SpeakAsync("Stop recording"); StudentIsRecording = false; RecordButtonName = "Start Recording"; SaveStrokes(); StudentStrokes.Clear(); RecordButtonColor = new SolidColorBrush(Colors.White); SendDebugMessage("Stopped Recording 2"); return; } }
private void StartRecordingData() { if (StudentIsRecording == false) { mySpeechManager.Speech.SpeakAsync("start recording"); if (ExpertStrokeLoaded == false) { LoadStrokes(); } StudentStrokes.Clear(); StudentIsRecording = true; RecordButtonName = "Stop Recording"; RecordButtonColor = new SolidColorBrush(Colors.LightGreen); return; } }
public void ClearStrokes() { StudentStrokes.Clear(); StudentStrokeCount = 0; }