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.

Only Essential Cookies
Accept All

Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.

HMS Core ReferencesLocation KitLocationActivityConversionInfoOverview

ActivityConversionInfo

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.
This page may contain third-party content. For details, click here.
Search in References
Enter a keyword.