Table of Contents

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

context Context

Properties

Dob

[Register("dob")]
public Sensor Dob { get; set; }

Property Value

Sensor

Doj

[Register("doj")]
public float Doj { get; set; }

Property Value

float

Dol

[Register("dol")]
public float Dol { get; set; }

Property Value

float

Dor

[Register("dor")]
public SensorManager Dor { get; set; }

Property Value

SensorManager

Dox

[Register("dox")]
public float Dox { get; set; }

Property Value

float

Doy

[Register("doy")]
public ISignificantMoveListener Doy { get; set; }

Property Value

ISignificantMoveListener

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

sensor Sensor

To be added.

accuracy SensorStatus

The 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.

Java documentation for

android.hardware.SensorEventListener.onAccuracyChanged(android.hardware.Sensor, int)
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

OnSensorChanged(SensorEvent)

Called when there is a new sensor event.

[Register("onSensorChanged", "(Landroid/hardware/SensorEvent;)V", "")]
public void OnSensorChanged(SensorEvent e)

Parameters

e SensorEvent

the 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.

Java documentation for

android.hardware.SensorEventListener.onSensorChanged(android.hardware.SensorEvent)
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RegisterSignificantMoveListener(ISignificantMoveListener)

[Register("registerSignificantMoveListener", "(Lio/scanbot/sdk/camera/autosnapping/SignificantMoveListener;)V", "")]
public void RegisterSignificantMoveListener(ISignificantMoveListener listener)

Parameters

listener ISignificantMoveListener

UnregisterSignificantMoveListener(ISignificantMoveListener)

[Register("unregisterSignificantMoveListener", "(Lio/scanbot/sdk/camera/autosnapping/SignificantMoveListener;)V", "")]
public void UnregisterSignificantMoveListener(ISignificantMoveListener listener)

Parameters

listener ISignificantMoveListener