TakePicture() 개인적인 메소드

Takes a picture.
private TakePicture ( ) : void
리턴 void
예제 #1
0
 public override void OnPickOptionResult(bool finished, Option[] selections, Bundle result)
 {
     if (finished && selections.Length == 1)
     {
         frag.TakePicture();
     }
     else
     {
         Activity.Finish();
     }
 }
예제 #2
0
            public override void Run()
            {
                frag.Activity.RunOnUiThread(() =>
                {
                    if (countdown < 0)
                    {
                        toast.Cancel();
                        frag.TakePicture();
                    }
                    else
                    {
                        label.Text = "Photo in " + countdown.ToString("D");
                        toast.Show();
                    }
                });

                countdown--;
                if (countdown < 0)
                {
                    Cancel();
                }
            }