private bool StartRecording() { if (recording) { return(true); } if (!canRecord) { return(false); } if (StartPreview()) { AnimationMode.StartAnimationRecording(); ClearCandidates(); return(true); } return(false); }
private bool StartRecording() { bool result; if (this.recording) { result = true; } else if (!this.canRecord) { result = false; } else if (this.StartPreview()) { AnimationMode.StartAnimationRecording(); this.ClearCandidates(); result = true; } else { result = false; } return(result); }