android.gesture
Class GestureStore
java.lang.Object
android.gesture.GestureStore
public class GestureStore
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEQUENCE_INVARIANT
public static final int SEQUENCE_INVARIANT
- See Also:
- Constant Field Values
SEQUENCE_SENSITIVE
public static final int SEQUENCE_SENSITIVE
- See Also:
- Constant Field Values
ORIENTATION_INVARIANT
public static final int ORIENTATION_INVARIANT
- See Also:
- Constant Field Values
ORIENTATION_SENSITIVE
public static final int ORIENTATION_SENSITIVE
- See Also:
- Constant Field Values
GestureStore
public GestureStore()
setOrientationStyle
public void setOrientationStyle(int style)
getOrientationStyle
public int getOrientationStyle()
setSequenceType
public void setSequenceType(int type)
getSequenceType
public int getSequenceType()
getGestureEntries
public Set<String> getGestureEntries()
recognize
public ArrayList<Prediction> recognize(Gesture gesture)
addGesture
public void addGesture(String entryName,
Gesture gesture)
removeGesture
public void removeGesture(String entryName,
Gesture gesture)
removeEntry
public void removeEntry(String entryName)
getGestures
public ArrayList<Gesture> getGestures(String entryName)
hasChanged
public boolean hasChanged()
save
public void save(OutputStream stream)
throws IOException
- Throws:
IOException
save
public void save(OutputStream stream,
boolean closeStream)
throws IOException
- Throws:
IOException
load
public void load(InputStream stream)
throws IOException
- Throws:
IOException
load
public void load(InputStream stream,
boolean closeStream)
throws IOException
- Throws:
IOException
Copyright © 2008-2012. All Rights Reserved.