| CLASS info |
| public class ActivityConversionData implements Parcelable |
| Activity conversion event. |
| Name | Desc | |
| Creator<ActivityConversionData> | CREATOR | Used for deserializing activity conversion event. |
| Constructor name |
| ActivityConversionData(int activityType, int conversionType ,long elapsedTimeFromReboot) Builds a ActivityConversionData |
| Return type | Method name |
| int | getActivityType() |
| long | getElapsedTimeFromReboot() |
| int | getConversionType() |
| constructor |
| public ActivityConversionData(int activityType, int conversionType ,long elapsedTimeFromReboot) |
| Builds a ActivityConversionData |
Parameters
| Parameter name | Parameter desc |
| activityType | Activity type. |
| conversionType | Activity conversion type. |
| elapsedTimeFromReboot | Conversion time. Number of milliseconds since boot. |
| Method |
| public int getActivityType() |
| This API is used to obtain the activity type of the conversion. The value is one of the activity types defined in ActivityIdentificationData. |
Return
| type | desc |
| int | Activity type. |
Return
| type | desc |
| long | timestamp, in milliseconds. |
| Method |
| public int getConversionType() |
| This API is used to obtain the comversion type. The value is one of the conversion types defined in ActivityConversionInfo. |
Return
| type | desc |
| int | Conversion type. |