to top
Datalogic APIs
public final enum

DesktopModePolicy

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.configuration.DesktopModePolicy

Class Overview

Enum DesktopModePolicy defines the desktop mode settings for screen sharing. These are the allowed values for the property DESKTOP_MODE_POLICY

Summary

Enum Values
DesktopModePolicy  DUAL_SCREEN  The screen of the device and the external monitor are separated, each with its own content and layout. 
DesktopModePolicy  EXTERNAL_SCREEN  The screen of the device is duplicated exactly on the external monitor, but typically the user interface is adapted to the resolution of the external monitor with landscape orientation. 
DesktopModePolicy  MIRRORED_SCREEN  The screen of the device is duplicated exactly on the external monitor, typically with portrait orientation. 
Public Methods
static DesktopModePolicy fromInt(int n)
Retrieves the corresponding DesktopModePolicy value, from a valid integer.
int toInt()
Converts a DesktopModePolicy to its corresponding integer value.
static DesktopModePolicy valueOf(String name)
final static DesktopModePolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DesktopModePolicy DUAL_SCREEN

Added in revision 40

The screen of the device and the external monitor are separated, each with its own content and layout. The external monitor displays a desktop-like interface, which can include a taskbar, while the screen device displays the Android interface and it could be used as a secondary screen.

public static final DesktopModePolicy EXTERNAL_SCREEN

Added in revision 40

The screen of the device is duplicated exactly on the external monitor, but typically the user interface is adapted to the resolution of the external monitor with landscape orientation.

public static final DesktopModePolicy MIRRORED_SCREEN

Added in revision 40

The screen of the device is duplicated exactly on the external monitor, typically with portrait orientation.

Public Methods

public static DesktopModePolicy fromInt (int n)

Added in revision 40

Retrieves the corresponding DesktopModePolicy value, from a valid integer.

Parameters
n int
Returns
  • DesktopModePolicy the corresponding one.

public int toInt ()

Added in revision 40

Converts a DesktopModePolicy to its corresponding integer value.

Returns
  • int

public static DesktopModePolicy valueOf (String name)

Added in revision 40

public static final DesktopModePolicy[] values ()

Added in revision 40