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); surface_texture_listener = new MySurfaceTextureListener(this); state_listener = new MyCameraStateListener (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); surface_texture_listener = new MySurfaceTextureListener(this); state_listener = new MyCameraStateListener(this); }