Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HUAWEI HMS Core
Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.
| class info |
| public class DetectedBehavior implements Parcelable |
| Type and confidence of a detected behavior. |
| Constructor name |
| DetectedBehavior(int type, int confidence) |
| Constructs a detected behavior. |
| Return type | Method name |
| int | getType() |
| int | getConfidence() |
| constructor |
| public DetectedBehavior(int type, int confidence) |
| Constructs a detected behavior. |
Parameters
| Parameter name | Parameter desc |
| type | Detected behavior. |
| confidence | Confidence, indicating the possibility that a user is executing the behavior. The value ranges from 0 to 100. |
| Method |
| public int getType() |
| Obtains the detected behavior type. |
Return
| Type | desc |
| int | Behavior type. The value is one of the eight constant values defined in the BehaviorBarrier class. |
Return
| Type | desc |
| int | Confidence, indicating the possibility that a user is executing the behavior. The value ranges from 0 to 100. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.