to top
Datalogic APIs
public class

StringMapping

extends MappingObject
java.lang.Object
   ↳ com.datalogic.device.input.MappingObject
     ↳ com.datalogic.device.input.StringMapping

Class Overview

A MappingObject contains a Unicode string. This is used to input something when certain key events occur. If you want to simply input an Unicode character, use this class with a one-element string.

Summary

[Expand]
Inherited Constants
From class com.datalogic.device.input.MappingObject
From interface android.os.Parcelable
Fields
public static final Creator<StringMapping> CREATOR
[Expand]
Inherited Fields
From class com.datalogic.device.input.MappingObject
Public Constructors
StringMapping(String str)
Constructs with a string.
Public Methods
String getString()
Get the String value from the Object
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class com.datalogic.device.input.MappingObject
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<StringMapping> CREATOR

Added in revision 35

Public Constructors

public StringMapping (String str)

Added in revision 35

Constructs with a string.

Parameters
str String the given string

Public Methods

public String getString ()

Added in revision 35

Get the String value from the Object

Returns
  • String

public void writeToParcel (Parcel out, int flags)

Added in revision 35