Represents an activity discovered by ActivityRecognizer. More...
Import Statement: | import ArcGIS.AppFramework.Sensors 1.0 |
Properties
- activity : ActivityType
- confidence : Confidence
- confidenceScore : object
Detailed Description
The ActivityRecognizerResult component holds values related to an activity found through ActivityRecognizer.
For an example of this component in action, refer to the code sample for ActivityRecognizer.
Enumerations
ActivityType enumeration
Name | Value |
---|---|
ActivityRecognizerResult.ActivityTypeUnknown | 0 |
ActivityRecognizerResult.ActivityTypeStationary | 1 |
ActivityRecognizerResult.ActivityTypeWalking | 2 |
ActivityRecognizerResult.ActivityTypeRunning | 3 |
ActivityRecognizerResult.ActivityTypeBiking | 4 |
ActivityRecognizerResult.ActivityTypeAutomotive | 5 |
ActivityRecognizerResult.ActivityTypeTilting | 6 |
Confidence enumeration
Name | Value |
---|---|
ActivityRecognizerResult.ConfidenceLow | 0 |
ActivityRecognizerResult.ConfidenceMedium | 1 |
ActivityRecognizerResult.ConfidenceHigh | 2 |
Property Documentation
Returns the confidence of the activity. Informed by Confidence enum.
On Android only, returns a value from 0 to 100 percent indicating the likelihood of the activity being performed.