Table of Contents

Class Doy

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

Constructors

Doy(ScanbotCameraXView, Context)

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

Parameters

p0 ScanbotCameraXView
p1 Context

Properties

Dob

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

Property Value

ScanbotCameraXView

Dor

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