package md5d630c3d3bfb5f5558520331566132d97;


public class SensorListener
	extends java.lang.Object
	implements
		mono.android.IGCUserPeer,
		android.hardware.SensorEventListener
{
/** @hide */
	public static final String __md_methods;
	static {
		__md_methods = 
			"n_onAccuracyChanged:(Landroid/hardware/Sensor;I)V:GetOnAccuracyChanged_Landroid_hardware_Sensor_IHandler:Android.Hardware.ISensorEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
			"n_onSensorChanged:(Landroid/hardware/SensorEvent;)V:GetOnSensorChanged_Landroid_hardware_SensorEvent_Handler:Android.Hardware.ISensorEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n" +
			"";
		mono.android.Runtime.register ("Xamarin.Essentials.SensorListener, Xamarin.Essentials", SensorListener.class, __md_methods);
	}


	public SensorListener ()
	{
		super ();
		if (getClass () == SensorListener.class)
			mono.android.TypeManager.Activate ("Xamarin.Essentials.SensorListener, Xamarin.Essentials", "", this, new java.lang.Object[] {  });
	}

	public SensorListener (java.lang.String p0, java.lang.String p1, int p2, boolean p3)
	{
		super ();
		if (getClass () == SensorListener.class)
			mono.android.TypeManager.Activate ("Xamarin.Essentials.SensorListener, Xamarin.Essentials", "System.String, mscorlib:System.String, mscorlib:Android.Hardware.SensorDelay, Mono.Android:System.Boolean, mscorlib", this, new java.lang.Object[] { p0, p1, p2, p3 });
	}


	public void onAccuracyChanged (android.hardware.Sensor p0, int p1)
	{
		n_onAccuracyChanged (p0, p1);
	}

	private native void n_onAccuracyChanged (android.hardware.Sensor p0, int p1);


	public void onSensorChanged (android.hardware.SensorEvent p0)
	{
		n_onSensorChanged (p0);
	}

	private native void n_onSensorChanged (android.hardware.SensorEvent p0);

	private java.util.ArrayList refList;
	public void monodroidAddReference (java.lang.Object obj)
	{
		if (refList == null)
			refList = new java.util.ArrayList ();
		refList.add (obj);
	}

	public void monodroidClearReferences ()
	{
		if (refList != null)
			refList.clear ();
	}
}
