to top
Datalogic APIs
public final enum

PhysicalKeyboardPolicy

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

Class Overview

The PhysicalKeyboardPolicy enumeration defines the layouts for external physical keyboard.

Summary

Enum Values
PhysicalKeyboardPolicy  AUTOMATIC  Layout set with the current Locale. 
PhysicalKeyboardPolicy  CUSTOM  User defined preference. 
PhysicalKeyboardPolicy  DEFAULT  Default layout for physical keyboards defined in Android. 
Public Methods
static PhysicalKeyboardPolicy fromInt(int n)
Retrieves the corresponding PhysicalKeyboardPolicy value, from a valid integer.
int toInt()
Converts the PhysicalKeyboardPolicy to its integer corresponding value.
static PhysicalKeyboardPolicy valueOf(String name)
final static PhysicalKeyboardPolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PhysicalKeyboardPolicy AUTOMATIC

Added in revision 40

Layout set with the current Locale. Physical Keyboard is defined by system language.

public static final PhysicalKeyboardPolicy CUSTOM

Added in revision 40

User defined preference. Physical Keyboard Layout is defined by PHYSICAL_KEYBOARD_PROFILE.

public static final PhysicalKeyboardPolicy DEFAULT

Added in revision 40

Default layout for physical keyboards defined in Android.

Public Methods

public static PhysicalKeyboardPolicy fromInt (int n)

Added in revision 40

Retrieves the corresponding PhysicalKeyboardPolicy value, from a valid integer.

Parameters
n int
Returns
  • PhysicalKeyboardPolicy the corresponding one.

public int toInt ()

Added in revision 40

Converts the PhysicalKeyboardPolicy to its integer corresponding value.

Returns
  • int

public static PhysicalKeyboardPolicy valueOf (String name)

Added in revision 40

public static final PhysicalKeyboardPolicy[] values ()

Added in revision 40