to top
Datalogic APIs
public abstract class

MappingObject

extends Object
implements Parcelable
java.lang.Object
   ↳ com.datalogic.device.input.MappingObject
Known Direct Subclasses

Class Overview

This class is a generic representation of actions to be executed when certain key events occur. This class is used in the key remapping feature. See mapKey(VScanEntry, Map, Map)

Summary

Constants
int TYPE_COMPOSITION_MAPPING
int TYPE_DELAY_MAPPING
int TYPE_INTENT_MAPPING
int TYPE_KEY_ACTION_MAPPING
int TYPE_STRING_MAPPING
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<MappingObject> CREATOR
Public Constructors
MappingObject(int type)
Public Methods
int describeContents()
int getType()
Returns the type of this mapping object
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Constants

public static final int TYPE_COMPOSITION_MAPPING

Added in revision 35

Constant Value: 6 (0x00000006)

public static final int TYPE_DELAY_MAPPING

Added in revision 35

Constant Value: 2 (0x00000002)

public static final int TYPE_INTENT_MAPPING

Added in revision 35

Constant Value: 5 (0x00000005)

public static final int TYPE_KEY_ACTION_MAPPING

Added in revision 35

Constant Value: 3 (0x00000003)

public static final int TYPE_STRING_MAPPING

Added in revision 35

Constant Value: 4 (0x00000004)

Fields

public static final Creator<MappingObject> CREATOR

Added in revision 35

Public Constructors

public MappingObject (int type)

Added in revision 35

Public Methods

public int describeContents ()

Added in revision 35

public int getType ()

Added in revision 35

Returns the type of this mapping object

Returns
  • the type of this mapping object

public void writeToParcel (Parcel out, int flags)

Added in revision 35