Package com.mypurecloud.sdk.v2.model
Class AppEvent
java.lang.Object
com.mypurecloud.sdk.v2.model.AppEvent
- All Implemented Interfaces:
Serializable
AppEvent
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapp(JourneyApp app) Application that the customer is interacting with.attributes(Map<String, CustomEventAttribute> attributes) User-defined attributes associated with a particular event.Customer's device.booleanRepresents the action the customer performed.geolocation(JourneyGeolocation geolocation) Customer's geolocation.getApp()inthashCode()Customer's IP address.ipOrganization(String ipOrganization) Customer's IP-based organization or ISP name.mktCampaign(JourneyCampaign mktCampaign) Marketing / traffic source information.networkConnectivity(NetworkConnectivity networkConnectivity) Information relating to the device's network connectivity.screenName(String screenName) The name of the screen in the app that the event took place.sdkLibrary(SdkLibrary sdkLibrary) SDK library used to generate the event.searchQuery(String searchQuery) Represents the keywords in a customer search query.voidsetApp(JourneyApp app) voidsetAttributes(Map<String, CustomEventAttribute> attributes) voidvoidsetEventName(String eventName) voidsetGeolocation(JourneyGeolocation geolocation) voidsetIpAddress(String ipAddress) voidsetIpOrganization(String ipOrganization) voidsetMktCampaign(JourneyCampaign mktCampaign) voidsetNetworkConnectivity(NetworkConnectivity networkConnectivity) voidsetScreenName(String screenName) voidsetSdkLibrary(SdkLibrary sdkLibrary) voidsetSearchQuery(String searchQuery) voidsetTraits(Map<String, CustomEventAttribute> traits) toString()traits(Map<String, CustomEventAttribute> traits) Traits are attributes intrinsic to the customer that may be sent in selected events.
-
Constructor Details
-
AppEvent
public AppEvent() -
AppEvent
-
-
Method Details
-
eventName
Represents the action the customer performed. A good event name is typically an object followed by the action performed in past tense (e.g. screen_viewed, order_completed, user_registered). -
getEventName
-
setEventName
-
screenName
The name of the screen in the app that the event took place. -
getScreenName
-
setScreenName
-
app
Application that the customer is interacting with. -
getApp
-
setApp
-
device
Customer's device. -
getDevice
-
setDevice
-
ipAddress
Customer's IP address. May be null if the business configures the tracker to not collect IP addresses. -
getIpAddress
-
setIpAddress
-
ipOrganization
Customer's IP-based organization or ISP name. -
getIpOrganization
-
setIpOrganization
-
geolocation
Customer's geolocation. -
getGeolocation
-
setGeolocation
-
sdkLibrary
SDK library used to generate the event. -
getSdkLibrary
-
setSdkLibrary
-
networkConnectivity
Information relating to the device's network connectivity. -
getNetworkConnectivity
-
setNetworkConnectivity
-
mktCampaign
Marketing / traffic source information. -
getMktCampaign
-
setMktCampaign
-
searchQuery
Represents the keywords in a customer search query. -
getSearchQuery
-
setSearchQuery
-
attributes
User-defined attributes associated with a particular event. -
getAttributes
-
setAttributes
-
traits
Traits are attributes intrinsic to the customer that may be sent in selected events. Examples are email, givenName, cellPhone. -
getTraits
-
setTraits
-
equals
-
hashCode
public int hashCode() -
toString
-