CLASS info
public class ActivityConversionInfo implements Parcelable, IMessageEntity
Activity conversion info.

Field Summary

NameDesc
Creator<ActivityConversionInfo>CREATORUsed to deserialize activity conversion information.

Nested Class Summary

TypeNameDesc
ClassActivityConversionInfo.BuilderBuilds a ActivityConversionInfo.

Constant Summary

TypeNameDesc
intENTER_ACTIVITY_CONVERSIONA user enters the given activity. The value is 0.
intEXIT_ACTIVITY_CONVERSIONA user exits the given activity. The value is 1.

Member Variable Summary

TypeNameDesc
intactivityType Activity Type.
intconversionTypeConversion Type.

Public Method Summary

Return typeMethod name
intgetActivityType()
intgetConversionType()

Constants

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

Public Methods

Method
public int getConversionType()

This API is used to obtain the conversion status of the current activity conversion instance.

Return

typedesc
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

typedesc
intActivity type.