Ejemplo n.º 1
0
 /// <summary>
 /// Resets the location provider.
 /// </summary>
 public void Restart()
 {
     Logger.LogFromMethod("ARLocationProvider", "Restart", "Restarting the location provider.", DebugMode);
     Provider?.Restart();
     OnRestartDelegate?.Invoke();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds a delegate to be called when the ARLocationManager session is restarted.
 /// </summary>
 /// <param name="del"></param>
 public void OnRestart(OnRestartDelegate del)
 {
     onRestartDelegates += del;
 }