/// <summary>Creates a new OrientationListener.</summary> /// <remarks>Creates a new OrientationListener.</remarks> /// <param name="context">for the OrientationListener.</param> /// <param name="rate"> /// at which sensor events are processed (see also /// <see cref="android.hardware.SensorManager">SensorManager</see> /// ). Use the default /// value of /// <see cref="android.hardware.SensorManager.SENSOR_DELAY_NORMAL"> /// /// SENSOR_DELAY_NORMAL /// </see> /// for simple screen orientation change detection. /// </param> public OrientationListener(android.content.Context context, int rate) { mOrientationEventLis = new android.view.OrientationListener.OrientationEventListenerInternal (this, context, rate); }