public override bool ShouldAutorotate () { // Disable autorotation of the interface when recording is in progress. return (MovieFileOutput == null) || !MovieFileOutput.Recording; }