Added "takeSnapshot()" in CameraManager.