Exemple #1
0
        protected override void DoStart(SensorDelay delay)
        {
            if (!IsAvailable())
            {
                throw new Exception("Gyroscope is not available on this device.");
            }

            MotionManager.GyroUpdateInterval = (int)delay * 0.001;
            MotionManager.StartGyroUpdates(NSOperationQueue.CurrentQueue, HandleChanged);
        }