to top
Datalogic APIs
public static abstract class

CameraInputDevice.PreviewDisplayMode

extends Object
java.lang.Object
   ↳ com.datalogic.decode.CameraInputDevice.PreviewDisplayMode
Known Direct Subclasses

Class Overview

Abstract class representing the display mode to use for the camera preview. The implementing classes will define the behavior to use.

Summary

Constants
int TYPE_FIT_SCREEN Type for fit screen display mode.
int TYPE_MANUAL_POSITIONING Type for manual positioning display mode.
Public Constructors
PreviewDisplayMode(int type)
Public Methods
int getType()
Returns the type of display mode.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int TYPE_FIT_SCREEN

Added in revision 33

Type for fit screen display mode.

Constant Value: 0 (0x00000000)

public static final int TYPE_MANUAL_POSITIONING

Added in revision 33

Type for manual positioning display mode.

Constant Value: 1 (0x00000001)

Public Constructors

public PreviewDisplayMode (int type)

Added in revision 33

Public Methods

public int getType ()

Added in revision 33

Returns the type of display mode.

Returns
  • The type of display mode.