Android APIs
public abstract class

GestureLibrary

extends Object
java.lang.Object
   ↳ android.gesture.GestureLibrary

Summary

Fields
protected final GestureStore mStore
Protected Constructors
GestureLibrary()
Public Methods
void addGesture(String entryName, Gesture gesture)
Set<String> getGestureEntries()
ArrayList<Gesture> getGestures(String entryName)
int getOrientationStyle()
int getSequenceType()
boolean isReadOnly()
abstract boolean load()
ArrayList<Prediction> recognize(Gesture gesture)
void removeEntry(String entryName)
void removeGesture(String entryName, Gesture gesture)
abstract boolean save()
void setOrientationStyle(int style)
void setSequenceType(int type)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final GestureStore mStore

Added in API level 4

Protected Constructors

protected GestureLibrary ()

Added in API level 4

Public Methods

public void addGesture (String entryName, Gesture gesture)

Added in API level 4

Parameters
entryName
gesture

public Set<String> getGestureEntries ()

Added in API level 4

Returns
Set<String>

public ArrayList<Gesture> getGestures (String entryName)

Added in API level 4

Parameters
entryName
Returns
ArrayList<Gesture>

public int getOrientationStyle ()

Added in API level 4

Returns
int

public int getSequenceType ()

Added in API level 4

Returns
int

public boolean isReadOnly ()

Added in API level 4

Returns
boolean

public abstract boolean load ()

Added in API level 4

Returns
boolean

public ArrayList<Prediction> recognize (Gesture gesture)

Added in API level 4

Parameters
gesture
Returns
ArrayList<Prediction>

public void removeEntry (String entryName)

Added in API level 4

Parameters
entryName

public void removeGesture (String entryName, Gesture gesture)

Added in API level 4

Parameters
entryName
gesture

public abstract boolean save ()

Added in API level 4

Returns
boolean

public void setOrientationStyle (int style)

Added in API level 4

Parameters
style

public void setSequenceType (int type)

Added in API level 4

Parameters
type