Ejemplo n.º 1
0
 protected override void OnDestroy()
 {
     if (launched)
     {
         UrhoSurface.OnDestroy();
     }
     base.OnDestroy();
 }
        protected override void OnDestroy()
        {
            UrhoSurface.OnDestroy();

            // TODO: We need to start and stop background thread on Resume and on Pause.
            //       But now we cannot, because we also need to open a new camera, etc when we do that...
            camera.CloseCamera();
            camera.StopBackgroundThread();

            // TODO: Also, we need to close camera when not using the app anymore!
            base.OnDestroy();
        }
Ejemplo n.º 3
0
 protected override void OnDestroy()
 {
     UrhoSurface.OnDestroy();
     base.OnDestroy();
 }
Ejemplo n.º 4
0
 public override void OnBackPressed()
 {
     UrhoSurface.OnDestroy();
     Finish();
 }
Ejemplo n.º 5
0
 //خرسه
 protected override void OnDisappearing()
 {
     base.OnDisappearing();
     OrientationSensor.Stop();
     UrhoSurface.OnDestroy();
 }
Ejemplo n.º 6
0
 protected override void OnDestroy()
 {
     UrhoSurface.OnDestroy();
     mSensorManager.UnregisterListener(this);
     base.OnDestroy();
 }
Ejemplo n.º 7
0
 protected override void OnDisappearing()
 {
     Debug.WriteLine("UrhoPage.OnDisappearing");
     UrhoSurface.OnDestroy();
     base.OnDisappearing();
 }
Ejemplo n.º 8
0
 protected override void OnDisappearing()
 {
     _characteristicRcv?.StopUpdatesAsync();
     UrhoSurface.OnDestroy();
     base.OnDisappearing();
 }