Android MediaRecorder and Camera class diagram

The diagram below illustrates  the relationship between MediaRecord, Camera and SurfaceView.