to top
Datalogic APIs
public static class

CameraInputDevice.FitScreenPreviewDisplayMode

extends CameraInputDevice.PreviewDisplayMode
java.lang.Object
   ↳ com.datalogic.decode.CameraInputDevice.PreviewDisplayMode
     ↳ com.datalogic.decode.CameraInputDevice.FitScreenPreviewDisplayMode

Class Overview

Class representing the display mode used to fit the preview to the screen on the shortest size. As parameter it is possible to set the positioning for portrait and landscape.

Summary

Constants
int POSITIONING_BOTTOM
int POSITIONING_CENTER
int POSITIONING_LEFT
int POSITIONING_RIGHT
int POSITIONING_TOP
[Expand]
Inherited Constants
From class com.datalogic.decode.CameraInputDevice.PreviewDisplayMode
Public Constructors
FitScreenPreviewDisplayMode(int portraitPositioning, int landscapePositioning)
Public Methods
int getLandscapePositioning()
int getPortraitPositioning()
void setLandscapePositioning(int landscapePositioning)
void setPortraitPositioning(int portraitPositioning)
[Expand]
Inherited Methods
From class com.datalogic.decode.CameraInputDevice.PreviewDisplayMode
From class java.lang.Object

Constants

public static final int POSITIONING_BOTTOM

Added in revision 33

Constant Value: 4 (0x00000004)

public static final int POSITIONING_CENTER

Added in revision 33

Constant Value: 0 (0x00000000)

public static final int POSITIONING_LEFT

Added in revision 33

Constant Value: 1 (0x00000001)

public static final int POSITIONING_RIGHT

Added in revision 33

Constant Value: 2 (0x00000002)

public static final int POSITIONING_TOP

Added in revision 33

Constant Value: 3 (0x00000003)

Public Constructors

public FitScreenPreviewDisplayMode (int portraitPositioning, int landscapePositioning)

Added in revision 33

Public Methods

public int getLandscapePositioning ()

Added in revision 33

public int getPortraitPositioning ()

Added in revision 33

public void setLandscapePositioning (int landscapePositioning)

Added in revision 33

public void setPortraitPositioning (int portraitPositioning)

Added in revision 33