public void EscalateFeedback(ARCamera camera, double seconds) { this.CancelScheduledMessage(MessageType.TrackingStateEscalation); var timer = NSTimer.CreateScheduledTimer(seconds, false, (internalTimer) => { this.CancelScheduledMessage(MessageType.TrackingStateEscalation); var message = camera.GetPresentationString(); var recommendation = camera.GetRecommendation(); if (!string.IsNullOrEmpty(recommendation)) { message += $": {recommendation}"; } this.ShowMessage(message, false); }); this.timers[MessageType.TrackingStateEscalation] = timer; }
public void ShowTrackingQualityInfo(ARCamera camera, bool autoHide) { this.ShowMessage(camera.GetPresentationString(), autoHide); }