Table of Contents

Class Oav

Namespace
IO.Scanbot.Sdk.UI.Camera
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/camera/oav", DoNotGenerateAcw = true)]
public sealed class Oav : OrientationEventListener, IJavaObject, IJavaPeerable, IDisposable
Inheritance
Oav
Implements
Inherited Members

Constructors

Oav(ScanbotCameraXView, Context)

[Register(".ctor", "(Lio/scanbot/sdk/ui/camera/ScanbotCameraXView;Landroid/content/Context;)V", "")]
public Oav(ScanbotCameraXView p0, Context p1)

Parameters

p0 ScanbotCameraXView
p1 Context

Properties

Oab

[Register("oab")]
public ScanbotCameraXView Oab { get; set; }

Property Value

ScanbotCameraXView

Oai

[Register("oai")]
public int Oai { get; set; }

Property Value

int

Methods

OnOrientationChanged(int)

Called when the orientation of the device has changed.

[Register("onOrientationChanged", "(I)V", "")]
public override sealed void OnOrientationChanged(int p0)

Parameters

p0 int

Remarks

<p>Called when the orientation of the device has changed.

orientation parameter is in degrees, ranging from 0 to 359. orientation is 0 degrees when the device is oriented in its natural position, 90 degrees when its left side is at the top, 180 degrees when it is upside down, and 270 degrees when its right side is to the top. #ORIENTATION_UNKNOWN is returned when the device is close to flat and the orientation cannot be determined.

Java documentation for

android.view.OrientationEventListener.onOrientationChanged(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.