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(); }
protected override void OnDestroy() { UrhoSurface.OnDestroy(); base.OnDestroy(); }
public override void OnBackPressed() { UrhoSurface.OnDestroy(); Finish(); }
//خرسه protected override void OnDisappearing() { base.OnDisappearing(); OrientationSensor.Stop(); UrhoSurface.OnDestroy(); }
protected override void OnDestroy() { UrhoSurface.OnDestroy(); mSensorManager.UnregisterListener(this); base.OnDestroy(); }
protected override void OnDisappearing() { Debug.WriteLine("UrhoPage.OnDisappearing"); UrhoSurface.OnDestroy(); base.OnDisappearing(); }
protected override void OnDisappearing() { _characteristicRcv?.StopUpdatesAsync(); UrhoSurface.OnDestroy(); base.OnDisappearing(); }