VoiceCamera.CameraFragment.OnCreate C# (CSharp) Method

OnCreate() public method

public OnCreate ( Bundle savedInstanceState ) : void
savedInstanceState Bundle
return void
        public override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate (savedInstanceState);
            mStateListener = new CameraStateListener () { Fragment = this };
            mSurfaceTextureListener = new Camera2BasicSurfaceTextureListener (this);
            ORIENTATIONS.Append ((int)SurfaceOrientation.Rotation0, 90);
            ORIENTATIONS.Append ((int)SurfaceOrientation.Rotation90, 0);
            ORIENTATIONS.Append ((int)SurfaceOrientation.Rotation180, 270);
            ORIENTATIONS.Append ((int)SurfaceOrientation.Rotation270, 180);
        }