| java.lang.Object | |
| ↳ | android.gesture.GestureStore |
GestureLibrary maintains gesture examples and makes predictions on a new gesture
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | ORIENTATION_INVARIANT | ||||||||||
| int | ORIENTATION_SENSITIVE | ||||||||||
| int | SEQUENCE_INVARIANT | ||||||||||
| int | SEQUENCE_SENSITIVE | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add a gesture for the entry
| |||||||||||
Get all the gesture entry names in the library
| |||||||||||
Get all the gestures of an entry
| |||||||||||
Load the gesture library
| |||||||||||
Recognize a gesture
| |||||||||||
Remove a entry of gestures
| |||||||||||
Remove a gesture from the library.
| |||||||||||
Save the gesture library
| |||||||||||
Specify how the gesture library will handle orientation.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Add a gesture for the entry
| entryName | entry name |
|---|
Get all the gesture entry names in the library
Get all the gestures of an entry
Load the gesture library
| IOException |
|---|
Recognize a gesture
| gesture | the query |
|---|
Remove a entry of gestures
| entryName | the entry name |
|---|
Remove a gesture from the library. If there are no more gestures for the given entry, the gesture entry will be removed.
| entryName | entry name |
|---|
Save the gesture library
| IOException |
|---|
Specify how the gesture library will handle orientation. Use ORIENTATION_INVARIANT or ORIENTATION_SENSITIVE
| type | SEQUENCE_INVARIANT or SEQUENCE_SENSITIVE |
|---|