public class

A4SApplication

extends Application
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.app.Application
         ↳ com.ad4screen.sdk.A4SApplication

Class Overview

Eases use of Application in cunjunction with Ad4Screen SDK.
Due to the use of the multiprocess feature, Application is no more a singleton.
Extending this class and overriding functions allows you to perform your work in the Application class which is associated to your App Client process and avoid interactions with Ad4Screen SDK.

Summary

[Expand]
Inherited Constants
From class android.content.Context
From interface android.content.ComponentCallbacks2
Public Constructors
A4SApplication()
Public Methods
void onApplicationConfigurationChanged(Configuration newConfig)
Override this function to intercept Application.onConfigurationChanged in client app process.
void onApplicationCreate()
Override this function to intercept Application.onCreate in client app process.
void onApplicationLowMemory()
Override this function to intercept Application.onLowMemory in client app process.
void onApplicationTerminate()
Override this function to intercept Application.onTerminate in client app process.
final void onConfigurationChanged(Configuration newConfig)
final void onCreate()
final void onLowMemory()
final void onTerminate()
[Expand]
Inherited Methods
From class android.app.Application
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2

Public Constructors

public A4SApplication ()

Public Methods

public void onApplicationConfigurationChanged (Configuration newConfig)

Override this function to intercept Application.onConfigurationChanged in client app process.

public void onApplicationCreate ()

Override this function to intercept Application.onCreate in client app process.

public void onApplicationLowMemory ()

Override this function to intercept Application.onLowMemory in client app process.

public void onApplicationTerminate ()

Override this function to intercept Application.onTerminate in client app process.

public final void onConfigurationChanged (Configuration newConfig)

public final void onCreate ()

public final void onLowMemory ()

public final void onTerminate ()