Class Index

A C F G I L M P R S T

A

A4S Root class presenting Ad4Screen SDK functionalities. 
A4S.Callback<T> Callback used to return an operation result asynchronously 
A4S.MessageCallback Callback used to return an Inbox Message asynchronously 
A4SAccountAuthenticatorActivity AccountAuthenticatorActivity with built-in SDK Support 
A4SActivity LaunchActivity with built-in SDK Support 
A4SApplication Eases use of Application in cunjunction with Ad4Screen SDK. 
A4SExpandableListActivity ExpandableListActivity with built-in SDK Support 
A4SIDFVHandler BroadcastReceiver used to retrieve custom A4S IDFV. 
A4SIdsProvider Interface that you can use in order to dynamically provide partnerId and privateKey to Ad4Push SDK
This can be useful for instance if you need to retrieve partnerId/privateKey from your own server
This interface must return as fast as possible, so never do any long running operations in this provider

Usage
Remove meta-data com.ad4screen.partnerid and com.ad4screen.privatekey from your manifest
and add the following meta data to A4SService tag :
 
 <meta-data 
 	android:name="com.ad4screen.idsprovider" 
 	android:value="your.package.MyA4SIdsProvider" />
 
 

Please note that if your provider return null values, SDK will not start and will retry to get a partner id/private key by calling your provider every 10 sec
 
A4SListActivity ListActivity with built-in SDK Support 
A4SLocationReceiver  
A4SNativeActivity NativeActivity with built-in SDK Support 
A4SPreferenceActivity PreferenceActivity with built-in SDK Support 
A4SService Service launched by Ad4Push SDK. 
A4SWebView A4S Webview
Use it to track any webview with SDK
Optionally : You can specify your own script url by adding the following meta-data inside A4SService
 
 <meta-data 
 	android:name="com.ad4screen.webview.script_url" 
 	android:value="http://urlduscript.com/lescript.js" />
 
 
 

C

Cart Cart Object to use for analytics event 
Constants Various global SDK constants 

F

FacebookReceiver BroadcastReceiver used by SDK to retrieve Facebook Token and be able to link events to a facebook session. 

G

GCMHandler BroadcastReceiver used by SDK to retrieve GCM Token and handle GCM Message. 

I

InApp InApp
Class used by some SDK callbacks (setInAppReadyCallback, setInAppClickedCallback, setInAppDisplayedCallback)
You can retrieve id, template and customs parameters (can be null) 
Inbox This inbox contains all messages requested by a developer for one or more users. 
Item Item Object to use for analytics event 

L

Lead Lead Object to use for analytics event 
Log A4S SDK central logging facility. 

M

Message Inbox Message
Please see : Using Inbox in order to use it correctly 
Message.Button Inbox Message Button
Please see : Using Inbox in order to use it correctly 
Message.MessageContentType Content Type of this Message. 
Message.onIconDownloadedListener Return bitmap associated with this image as soon as the image of this Message is downloaded on this Device. 

P

Purchase Purchase Object to use for analytics event 

R

ReferrerHandler Broadcast Receiver used in order to send referrer informations to servers. 

S

StaticList This StaticList object can be used in order to subscribe/unsubscribe
and get the subscription status of a user/device to a list. 

T

Tag Tag your activity with a human-readable name useable as "view" target into our interface
If you need to target a Fragment, Tab or something like this : please use setView method instead of Tag
Usage
 
 		@Tag(name = "MainMenu")
 		class MainActivity extends LaunchActivity {
 			// ...