Class AppVersionService

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Application application
      private String apiKey
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit onStateChange(ApplicationState state) Notified when application state changes.
      abstract Unit onAppVersionInactive(String currentVersion, String activeVersions)
      • Methods inherited from class com.sap.cloud.mobile.foundation.mobileservices.MobileService

        enableNetworkPolicy, getApiKey, getApplication, init, isApplicationInitialized, mayStartNewProcess, reset, setApiKey, setApplication
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AppVersionService

        AppVersionService()
    • Method Detail

      • onStateChange

         Unit onStateChange(ApplicationState state)

        Notified when application state changes. This function will be called on Main thread.

      • onAppVersionInactive

         abstract Unit onAppVersionInactive(String currentVersion, String activeVersions)