Class SignificantMoveCatcher
- Namespace
- IO.Scanbot.Sdk.Camera.Autosnapping
- Assembly
- BarcodeSDK.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
Dob
[Register("dob")]
public Sensor Dob { get; set; }
Property Value
Doj
[Register("doj")]
public float Doj { get; set; }
Property Value
Dol
[Register("dol")]
public float Dol { get; set; }
Property Value
Dor
[Register("dor")]
public SensorManager Dor { get; set; }
Property Value
Dox
[Register("dox")]
public float Dox { get; set; }
Property Value
Doy
[Register("doy")]
public ISignificantMoveListener Doy { 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