GestureLibrary.Recognize(Gesture) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares a gesture with the library's stored examples.
[Android.Runtime.Register("recognize", "(Landroid/gesture/Gesture;)Ljava/util/ArrayList;", "GetRecognize_Landroid_gesture_Gesture_Handler")]
public virtual System.Collections.Generic.IList<Android.Gestures.Prediction>? Recognize(Android.Gestures.Gesture? gesture);
[<Android.Runtime.Register("recognize", "(Landroid/gesture/Gesture;)Ljava/util/ArrayList;", "GetRecognize_Landroid_gesture_Gesture_Handler")>]
abstract member Recognize : Android.Gestures.Gesture -> System.Collections.Generic.IList<Android.Gestures.Prediction>
override this.Recognize : Android.Gestures.Gesture -> System.Collections.Generic.IList<Android.Gestures.Prediction>
Parameters
- gesture
- Gesture
The gesture to compare with the stored examples.
Returns
A list of predicted entry names and scores, ordered from highest score to lowest. The list is empty if no stored examples can be compared. Scores are similarity measures, not probabilities.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.