Class SignificantMoveCatcher
- Namespace
- IO.Scanbot.Sdk.Camera.Autosnapping
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/camera/autosnapping/SignificantMoveCatcher", DoNotGenerateAcw = true)]
public sealed class SignificantMoveCatcher : Object, ISensorEventListener, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
SignificantMoveCatcher
- Implements
- Inherited Members
Constructors
SignificantMoveCatcher(Context)
[Register(".ctor", "(Landroid/content/Context;)V", "")]
public SignificantMoveCatcher(Context context)
Parameters
contextContext
Properties
Qnd
[Register("qnd")]
public float Qnd { get; set; }
Property Value
Qng
[Register("qng")]
public float Qng { get; set; }
Property Value
Qnr
[Register("qnr")]
public ISignificantMoveListener Qnr { get; set; }
Property Value
Qnv
[Register("qnv")]
public float Qnv { get; set; }
Property Value
Qnw
[Register("qnw")]
public Sensor Qnw { get; set; }
Property Value
Qny
[Register("qny")]
public SensorManager Qny { get; set; }
Property Value
Methods
OnAccuracyChanged(Sensor, SensorStatus)
Called when the accuracy of the registered sensor has changed.
[Register("onAccuracyChanged", "(Landroid/hardware/Sensor;I)V", "")]
public void OnAccuracyChanged(Sensor sensor, SensorStatus accuracy)
Parameters
sensorSensorTo be added.
accuracySensorStatusThe new accuracy of this sensor, one of
SensorManager.SENSOR_STATUS_*
Remarks
<p>Called when the accuracy of the registered sensor has changed. Unlike
onSensorChanged(), this is only called when this accuracy value changes.
See the SENSOR_STATUS_* constants in
android.hardware.SensorManager SensorManager for details.
Portions of this page are modifications based on work created and shared by the
OnSensorChanged(SensorEvent)
Called when there is a new sensor event.
[Register("onSensorChanged", "(Landroid/hardware/SensorEvent;)V", "")]
public void OnSensorChanged(SensorEvent e)
Parameters
eSensorEventthe SensorEvent.
Remarks
<p>Called when there is a new sensor event. Note that "on changed"
is somewhat of a misnomer, as this will also be called if we have a new reading from a sensor with the exact same sensor values (but a newer timestamp).
See android.hardware.SensorManager SensorManager
for details on possible sensor types.
See also android.hardware.SensorEvent SensorEvent.
<b>NOTE:</b> The application doesn't own the
android.hardware.SensorEvent event
object passed as a parameter and therefore cannot hold on to it.
The object may be part of an internal pool and may be reused by
the framework.
Portions of this page are modifications based on work created and shared by the
RegisterSignificantMoveListener(ISignificantMoveListener)
[Register("registerSignificantMoveListener", "(Lio/scanbot/sdk/camera/autosnapping/SignificantMoveListener;)V", "")]
public void RegisterSignificantMoveListener(ISignificantMoveListener listener)
Parameters
listenerISignificantMoveListener
UnregisterSignificantMoveListener(ISignificantMoveListener)
[Register("unregisterSignificantMoveListener", "(Lio/scanbot/sdk/camera/autosnapping/SignificantMoveListener;)V", "")]
public void UnregisterSignificantMoveListener(ISignificantMoveListener listener)
Parameters
listenerISignificantMoveListener