public Camera2VideoFragment() { ORIENTATIONS.Append ((int)SurfaceOrientation.Rotation0, 90); ORIENTATIONS.Append ((int)SurfaceOrientation.Rotation90, 0); ORIENTATIONS.Append ((int)SurfaceOrientation.Rotation180, 270); ORIENTATIONS.Append ((int)SurfaceOrientation.Rotation270, 180); surfaceTextureListener = new MySurfaceTextureListener(this); stateListener = new MyCameraStateCallback (this); }
public Camera2VideoFragment() { orientations.Append((int)SurfaceOrientation.Rotation0, 90); orientations.Append((int)SurfaceOrientation.Rotation90, 0); orientations.Append((int)SurfaceOrientation.Rotation180, 270); orientations.Append((int)SurfaceOrientation.Rotation270, 180); surfaceTextureListener = new MySurfaceTextureListener(this); stateListener = new MyCameraStateCallback(this); }