Class ApplicationStateTransitionEvent
java.lang.Object
com.mparticle.sdk.model.eventprocessing.Event
com.mparticle.sdk.model.eventprocessing.ApplicationStateTransitionEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mparticle.sdk.model.eventprocessing.Event
Event.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis field is collected by both the iOS and Android SDKs at the time of an app launch.This field is collected by both the iOS and Androd SDKs at the time of an app launch.This field is collected by the iOS SDK at the time of an app launch.This field is collected by the Android SDK at the time of an app launch.void
setApplicationState
(ApplicationStateTransitionEvent.ApplicationState applicationState) void
setLaunchParameters
(String launchParameters) void
setLaunchReferral
(String launchReferral) void
setReferralApplication
(String referralApplication) void
setSourcePackage
(String sourcePackage) Methods inherited from class com.mparticle.sdk.model.eventprocessing.Event
getId, getLocation, getRequest, getSessionId, getSourceId, getTimestamp, getType, setLocation, setRequest, setSessionId, setSourceId, setTimestamp
-
Constructor Details
-
ApplicationStateTransitionEvent
public ApplicationStateTransitionEvent()
-
-
Method Details
-
getApplicationState
-
setApplicationState
-
getSourcePackage
This field is collected by the Android SDK at the time of an app launch. It indicates the package name of the app that launched the app.- Returns:
-
setSourcePackage
-
getLaunchParameters
This field is collected by both the iOS and Android SDKs at the time of an app launch. It will contain any options or bundle extras that were passed into the app delegate (iOS) or Activity Intent (Android).- Returns:
-
setLaunchParameters
-
getReferralApplication
This field is collected by the iOS SDK at the time of an app launch. It will contain the source application indicated by the iOS framework's UIApplicationOpenURLOptionsSourceApplicationKey key.- Returns:
-
setReferralApplication
-
getLaunchReferral
This field is collected by both the iOS and Androd SDKs at the time of an app launch. It will contain the URI associated with the app launch.- Returns:
-
setLaunchReferral
-