Table of Contents

Class Qnr

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

Constructors

Qnr(ScanbotCameraXView, Context)

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

Parameters

p0 ScanbotCameraXView
p1 Context

Properties

Qnw

[Register("qnw")]
public ScanbotCameraXView Qnw { get; set; }

Property Value

ScanbotCameraXView

Qny

[Register("qny")]
public int Qny { 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.