Class UnbluApplicationHelper


  • public class UnbluApplicationHelper
    extends java.lang.Object
    Helper which can be used instead of inherit from UnbluApplication (and its visitor/agent implementation).
    All functions of this helper need to be called in your Application implementation. Check UnbluApplication for a simple example how this functions are called.

    CAUTION: If using the helper, you need to ensure all functions are called according to their counterpart which is defined in Application. This is especially important after an update of the SDK.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void onConfigurationChanged​(android.content.res.Configuration newConfig)
      Needs to be called when Application.onConfigurationChanged(Configuration) is invoked
      static void onCreate()
      Needs to be called when Application.onCreate() is invoked
      static void onCreate​(android.app.Application application)
      Needs to be called when Application.onCreate() is invoked
      static void onTerminate()
      Needs to be called when Application.onTerminate() is invoked.
      IMPORTANT: Needs to be called before the super call to Application.onTerminate()
      • Methods inherited from class java.lang.Object

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

      • UnbluApplicationHelper

        protected UnbluApplicationHelper()
    • Method Detail

      • onCreate

        public static void onCreate()
        Needs to be called when Application.onCreate() is invoked
      • onCreate

        public static void onCreate​(android.app.Application application)
        Needs to be called when Application.onCreate() is invoked
        Parameters:
        application - instance
      • onConfigurationChanged

        public static void onConfigurationChanged​(android.content.res.Configuration newConfig)
        Needs to be called when Application.onConfigurationChanged(Configuration) is invoked
        Parameters:
        newConfig - New configuration
      • onTerminate

        public static void onTerminate()
        Needs to be called when Application.onTerminate() is invoked.
        IMPORTANT: Needs to be called before the super call to Application.onTerminate()