public abstract class UnbluCoreApplicationHelper
extends java.lang.Object
UnbluCoreApplication
(and its visitor/agent implementation).Application
implementation. Check UnbluCoreApplication
for a simple example how this functions are called.Application
. This is especially important after an update of the SDK.Modifier | Constructor and Description |
---|---|
protected |
UnbluCoreApplicationHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
onConfigurationChanged(android.content.res.Configuration newConfig)
Needs to be called when
Application.onConfigurationChanged(Configuration) is invoked |
static void |
onCreate(android.app.Application application,
UnbluCoreApi unbluApi)
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() |
public static void onCreate(android.app.Application application, UnbluCoreApi unbluApi)
Application.onCreate()
is invokedapplication
- Pass the application instanceunbluApi
- Pass the specific unblu api instancepublic static void onConfigurationChanged(android.content.res.Configuration newConfig)
Application.onConfigurationChanged(Configuration)
is invokednewConfig
- New configurationpublic static void onTerminate()
Application.onTerminate()
is invoked.Application.onTerminate()