Added in API level 4
GestureLibrary
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)
|
Inherited methods | |
---|---|
Fields
Protected constructors
Public methods
addGesture
Added in API level 4
public void addGesture (String entryName, Gesture gesture)
Parameters | |
---|---|
entryName |
String |
gesture |
Gesture |
getGestures
Added in API level 4
public ArrayList<Gesture> getGestures (String entryName)
Parameters | |
---|---|
entryName |
String |
Returns | |
---|---|
ArrayList<Gesture> |
recognize
Added in API level 4
public ArrayList<Prediction> recognize (Gesture gesture)
Parameters | |
---|---|
gesture |
Gesture |
Returns | |
---|---|
ArrayList<Prediction> |
removeEntry
Added in API level 4
public void removeEntry (String entryName)
Parameters | |
---|---|
entryName |
String |
removeGesture
Added in API level 4
public void removeGesture (String entryName, Gesture gesture)
Parameters | |
---|---|
entryName |
String |
gesture |
Gesture |
setOrientationStyle
Added in API level 4
public void setOrientationStyle (int style)
Parameters | |
---|---|
style |
int |