Class ApplicationStateTransitionEvent

java.lang.Object
com.mparticle.sdk.model.eventprocessing.Event
com.mparticle.sdk.model.eventprocessing.ApplicationStateTransitionEvent

public final class ApplicationStateTransitionEvent extends Event
  • Constructor Details

    • ApplicationStateTransitionEvent

      public ApplicationStateTransitionEvent()
  • Method Details

    • getApplicationState

    • setApplicationState

      public void setApplicationState(ApplicationStateTransitionEvent.ApplicationState applicationState)
    • getSourcePackage

      public String 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

      public void setSourcePackage(String sourcePackage)
    • getLaunchParameters

      public String 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

      public void setLaunchParameters(String launchParameters)
    • getReferralApplication

      public String 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

      public void setReferralApplication(String referralApplication)
    • getLaunchReferral

      public String 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

      public void setLaunchReferral(String launchReferral)