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 ActivityConversionInfo implements Parcelable, IMessageEntity |
| Activity conversion info. |
| Name | Desc | |
| Creator<ActivityConversionInfo> | CREATOR | Used to deserialize activity conversion information. |
| Type | Name | Desc |
| Class | ActivityConversionInfo.Builder | Builds a ActivityConversionInfo. |
| Type | Name | Desc |
| int | ENTER_ACTIVITY_CONVERSION | A user enters the given activity. The value is 0. |
| int | EXIT_ACTIVITY_CONVERSION | A user exits the given activity. The value is 1. |
| Type | Name | Desc |
| int | activityType | Activity Type. |
| int | conversionType | Conversion Type. |
| Return type | Method name |
| int | getActivityType() |
| int | getConversionType() |
| Constant |
| public static final int ENTER_ACTIVITY_CONVERSION |
| A user enters the given activity.Constant Value: 0 |
| Constant |
| public static final int ACTIVITY_TRANSITION_EXIT |
| A user exits the given activity. Constant Value: 1 |
| Method |
| public int getConversionType() |
This API is used to obtain the conversion status of the current activity conversion instance. |
Return
| type | desc |
| int | Activity conversion information.The options are ENTER_ACTIVITY_CONVERSION and EXIT_ACTIVITY_CONVERSION; |
| Method |
| public int getActivityType() |
This API is used to obtain the activity status of the current activity conversion instance. |
Return
| type | desc |
| int | Activity type. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.