public AccelerometerManager(Context context, IAccelerometerListener listener)
 {
     this.context = context;
       eventListener = new ShakeSensorEventListener(listener);
       sensorManager = (SensorManager) context.GetSystemService(Context.SensorService);
       IsSupported = sensorManager.GetSensorList(SensorType.Accelerometer).Count > 0;
 }
 public AccelerometerManager(Context context, IAccelerometerListener listener)
 {
     this.context  = context;
     eventListener = new ShakeSensorEventListener(listener);
     sensorManager = (SensorManager)context.GetSystemService(Context.SensorService);
     IsSupported   = sensorManager.GetSensorList(SensorType.Accelerometer).Count > 0;
 }