Skip navigation links
A B C D E F G H I K L M N O P R S T U V Z 

A

AD_COUNT - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
addView(View) - Method in class net.pubnative.library.tracking.PubnativeImpressionTracker
Adds a view to the list of views to be tracked
addView(View, double) - Method in class net.pubnative.library.tracking.PubnativeVisibilityTracker
Adds the view to the tracking view pool and starts tracking it
ads - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3ResponseModel
 
AGE - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
ANDROID_ADVERTISER_ID - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
ANDROID_ADVERTISER_ID_MD5 - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
ANDROID_ADVERTISER_ID_SHA1 - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
APP_TOKEN - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
APP_VERSION - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
ASSET_FIELDS - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
ASSET_LAYOUT - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
assetgroupid - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3AdModel
 
assets - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3AdModel
 

B

BANNER - Static variable in interface net.pubnative.library.request.PubnativeAsset
 
beacons - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3AdModel
 
BUNDLE_ID - Static variable in interface net.pubnative.library.request.PubnativeMeta
 

C

CALL_TO_ACTION - Static variable in interface net.pubnative.library.request.PubnativeAsset
 
CAMPAIGN_ID - Static variable in interface net.pubnative.library.request.PubnativeMeta
 
clear() - Method in class net.pubnative.library.tracking.PubnativeImpressionTracker
Clears all tracking views from this tracker
clear() - Method in class net.pubnative.library.tracking.PubnativeVisibilityTracker
Stops tracking of all views and removes all callbacks
CLICK - Static variable in interface net.pubnative.library.request.model.api.PubnativeAPIV3AdModel.Beacon
 
closeLayout() - Method in class net.pubnative.library.widget.PubnativeContentInfoWidget
 
CONTENT_INFO - Static variable in interface net.pubnative.library.request.PubnativeMeta
 
COPPA - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
create(Context, PubnativeAPIV3AdModel) - Static method in class net.pubnative.library.request.model.PubnativeAdModel
 
CREATIVE_ID - Static variable in interface net.pubnative.library.request.PubnativeMeta
 
Crypto - Class in net.pubnative.library.utils
 
Crypto() - Constructor for class net.pubnative.library.utils.Crypto
 

D

data - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3DataModel
 
DESCRIPTION - Static variable in interface net.pubnative.library.request.PubnativeAsset
 
DEVICE_MODEL - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 

E

equals(Object) - Method in class net.pubnative.library.tracking.PubnativeImpressionTracker
 
ERROR - Static variable in interface net.pubnative.library.request.model.api.PubnativeAPIV3ResponseModel.Status
 
error_message - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3ResponseModel
 
ext - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3ResponseModel
 

F

fetch() - Method in class net.pubnative.library.request.model.PubnativeAdModel
This method prepares all possible resources

G

GENDER - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
getAsset(String) - Method in class net.pubnative.library.request.model.api.PubnativeAPIV3AdModel
 
getAsset(String) - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets the specified asset field raw data
getAssetGroupId() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets the asset group id of the ad
getAssetHtml(String) - Method in class net.pubnative.library.request.model.PubnativeAdModel
 
getAssetUrl(String) - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets url of the assets (html banner page, standard banner etc.)
getBannerUrl() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets the banner image url of the ad
getBeacon(String) - Method in class net.pubnative.library.request.model.PubnativeAdModel
Deprecated.
Beacons are multiple now, so this method will not cover all options, IT could even return a beacon with null url, since there are other type of beacons supported.
getBeacons(String) - Method in class net.pubnative.library.request.model.api.PubnativeAPIV3AdModel
 
getBeacons() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Deprecated.
Beacons returned by this method won't contain all the data, and will return null in the future, direct access to beacons will be stopped.
getClickUrl() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets the click url of the ad
getContentInfo(Context) - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets content info view
getContentInfoClickUrl() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets content info click url
getContentInfoIconUrl() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets content info icon url
getCtaText() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets the call to action string of the ad
getDescription() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets the description string of the ad
getHtml() - Method in class net.pubnative.library.request.model.api.PubnativeAPIV3DataModel
 
getIconUrl() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets the icon image url of the ad
getInstance() - Static method in class net.pubnative.library.tracking.PubnativeImpressionManager
 
getLocation(Context) - Static method in class net.pubnative.library.utils.SystemUtils
Returns the last known location.
getMeta(String) - Method in class net.pubnative.library.request.model.api.PubnativeAPIV3AdModel
 
getMeta(String) - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets the specified meta field raw data
getNumber() - Method in class net.pubnative.library.request.model.api.PubnativeAPIV3DataModel
 
getNumberField(String) - Method in class net.pubnative.library.request.model.api.PubnativeAPIV3DataModel
 
getPortraitBannerUrl() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Deprecated.
This resource is no longer served, so it will always return null
getRating() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets rating of the app in a value from 0 to 5
getStringField(String) - Method in class net.pubnative.library.request.model.api.PubnativeAPIV3DataModel
 
getText() - Method in class net.pubnative.library.request.model.api.PubnativeAPIV3DataModel
 
getTitle() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Gets the title string of the ad
getType() - Method in class net.pubnative.library.request.model.PubnativeAdModel
Deprecated.
There are no longer differencies about video/native ad, it's implicit to the request so you should stop using this method
getURL() - Method in class net.pubnative.library.request.model.api.PubnativeAPIV3DataModel
 
getVast() - Method in class net.pubnative.library.request.model.PubnativeAdModel
 
getWebViewUserAgent(Context) - Static method in class net.pubnative.library.utils.SystemUtils
Returns the default user agent

H

hashCode() - Method in class net.pubnative.library.tracking.PubnativeImpressionTracker
 
HTML_BANNER - Static variable in interface net.pubnative.library.request.PubnativeAsset
 
HTTP_INVALID_REQUEST - Static variable in class net.pubnative.library.network.PubnativeHttpRequest
 
HTTP_OK - Static variable in class net.pubnative.library.network.PubnativeHttpRequest
 

I

ICON - Static variable in interface net.pubnative.library.request.PubnativeAsset
 
ImageDownloader - Class in net.pubnative.library.utils
 
ImageDownloader() - Constructor for class net.pubnative.library.utils.ImageDownloader
 
ImageDownloader.Listener - Interface in net.pubnative.library.utils
Interface for callbacks related to image downloader
IMPRESSION - Static variable in interface net.pubnative.library.request.model.api.PubnativeAPIV3AdModel.Beacon
 
init(Context) - Method in class net.pubnative.library.widget.PubnativeContentInfoWidget
 
isEmpty() - Method in class net.pubnative.library.tracking.PubnativeImpressionTracker
Tells if the current tracker is tracking something
isRevenueModelCPA() - Method in class net.pubnative.library.request.model.PubnativeAdModel
 

K

KEYWORDS - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 

L

LAT - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
link - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3AdModel
 
load(String, ImageDownloader.Listener) - Method in class net.pubnative.library.utils.ImageDownloader
Load image
loadBeacon(String) - Method in class net.pubnative.library.widget.PubnativeWebView
 
LOCALE - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
LONG - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 

M

md5(String) - Static method in class net.pubnative.library.utils.Crypto
Encrypts the given input string using md5 algorithm
meta - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3AdModel
 
META_FIELDS - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 

N

net.pubnative.library.network - package net.pubnative.library.network
 
net.pubnative.library.request - package net.pubnative.library.request
 
net.pubnative.library.request.model - package net.pubnative.library.request.model
 
net.pubnative.library.request.model.api - package net.pubnative.library.request.model.api
 
net.pubnative.library.tracking - package net.pubnative.library.tracking
 
net.pubnative.library.tracking.model - package net.pubnative.library.tracking.model
 
net.pubnative.library.utils - package net.pubnative.library.utils
 
net.pubnative.library.widget - package net.pubnative.library.widget
 
NO_USER_ID - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 

O

OK - Static variable in interface net.pubnative.library.request.model.api.PubnativeAPIV3ResponseModel.Status
 
onClick(View) - Method in class net.pubnative.library.widget.PubnativeContentInfoWidget
 
onImageFailed(String, Exception) - Method in interface net.pubnative.library.utils.ImageDownloader.Listener
Called whenever image loading failed
onImageLoad(String, Bitmap) - Method in interface net.pubnative.library.utils.ImageDownloader.Listener
Called whenever image is loaded either from cache or from network
onImpression(View) - Method in class net.pubnative.library.request.model.PubnativeAdModel
 
onImpression(View) - Method in interface net.pubnative.library.tracking.PubnativeImpressionTracker.Listener
 
onPubnativeAdModelClick(PubnativeAdModel, View) - Method in interface net.pubnative.library.request.model.PubnativeAdModel.Listener
Called when click is confirmed
onPubnativeAdModelImpression(PubnativeAdModel, View) - Method in interface net.pubnative.library.request.model.PubnativeAdModel.Listener
Called when impression is confirmed
onPubnativeAdModelOpenOffer(PubnativeAdModel) - Method in interface net.pubnative.library.request.model.PubnativeAdModel.Listener
Called before the model opens the offer
onPubnativeAdvertisingIdFinish(String) - Method in interface net.pubnative.library.utils.PubnativeAdvertisingId.Listener
 
onPubnativeHttpRequestFail(PubnativeHttpRequest, Exception) - Method in interface net.pubnative.library.network.PubnativeHttpRequest.Listener
Called when the HttpRequest fails, after this method the request will be stopped
onPubnativeHttpRequestFail(PubnativeHttpRequest, Exception) - Method in class net.pubnative.library.request.PubnativeRequest
 
onPubnativeHttpRequestFinish(PubnativeHttpRequest, String, int) - Method in interface net.pubnative.library.network.PubnativeHttpRequest.Listener
Called when the HttpRequest has just finished with a valid String response
onPubnativeHttpRequestFinish(PubnativeHttpRequest, String, int) - Method in class net.pubnative.library.request.PubnativeRequest
 
onPubnativeHttpRequestStart(PubnativeHttpRequest) - Method in interface net.pubnative.library.network.PubnativeHttpRequest.Listener
Called when the HttpRequest is about to start
onPubnativeHttpRequestStart(PubnativeHttpRequest) - Method in class net.pubnative.library.request.PubnativeRequest
 
onPubnativeRequestFailed(PubnativeRequest, Exception) - Method in interface net.pubnative.library.request.PubnativeRequest.Listener
Invoked when PubnativeRequest request fails
onPubnativeRequestSuccess(PubnativeRequest, List<PubnativeAdModel>) - Method in interface net.pubnative.library.request.PubnativeRequest.Listener
Invoked when PubnativeRequest request is success
onURLDrillerFail(String, Exception) - Method in class net.pubnative.library.request.model.PubnativeAdModel
 
onURLDrillerFinish(String) - Method in class net.pubnative.library.request.model.PubnativeAdModel
 
onURLDrillerRedirect(String) - Method in class net.pubnative.library.request.model.PubnativeAdModel
 
onURLDrillerStart(String) - Method in class net.pubnative.library.request.model.PubnativeAdModel
 
onVisibilityCheck(List<View>, List<View>) - Method in interface net.pubnative.library.tracking.PubnativeVisibilityTracker.Listener
 
openLayout() - Method in class net.pubnative.library.widget.PubnativeContentInfoWidget
 
OS - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
OS_VERSION - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 

P

POINTS - Static variable in interface net.pubnative.library.request.PubnativeMeta
 
PubnativeAdModel - Class in net.pubnative.library.request.model
 
PubnativeAdModel() - Constructor for class net.pubnative.library.request.model.PubnativeAdModel
 
PubnativeAdModel.Listener - Interface in net.pubnative.library.request.model
Interface definition for callbacks to be invoked when impression confirmed/failed, ad clicked/clickfailed
PubnativeAdvertisingId - Class in net.pubnative.library.utils
 
PubnativeAdvertisingId() - Constructor for class net.pubnative.library.utils.PubnativeAdvertisingId
 
PubnativeAdvertisingId.Listener - Interface in net.pubnative.library.utils
 
PubnativeAPIV3AdModel - Class in net.pubnative.library.request.model.api
 
PubnativeAPIV3AdModel() - Constructor for class net.pubnative.library.request.model.api.PubnativeAPIV3AdModel
 
PubnativeAPIV3AdModel.Beacon - Interface in net.pubnative.library.request.model.api
Interface containing all possible Beacons
PubnativeAPIV3DataModel - Class in net.pubnative.library.request.model.api
 
PubnativeAPIV3DataModel() - Constructor for class net.pubnative.library.request.model.api.PubnativeAPIV3DataModel
 
PubnativeAPIV3ExtModel - Class in net.pubnative.library.request.model.api
 
PubnativeAPIV3ExtModel() - Constructor for class net.pubnative.library.request.model.api.PubnativeAPIV3ExtModel
 
PubnativeAPIV3ResponseModel - Class in net.pubnative.library.request.model.api
 
PubnativeAPIV3ResponseModel() - Constructor for class net.pubnative.library.request.model.api.PubnativeAPIV3ResponseModel
 
PubnativeAPIV3ResponseModel.Status - Interface in net.pubnative.library.request.model.api
 
PubnativeAsset - Interface in net.pubnative.library.request
Interface with all possible Asset fields
PubnativeContentInfoWidget - Class in net.pubnative.library.widget
 
PubnativeContentInfoWidget(Context) - Constructor for class net.pubnative.library.widget.PubnativeContentInfoWidget
 
PubnativeContentInfoWidget(Context, AttributeSet) - Constructor for class net.pubnative.library.widget.PubnativeContentInfoWidget
 
PubnativeContentInfoWidget(Context, AttributeSet, int) - Constructor for class net.pubnative.library.widget.PubnativeContentInfoWidget
 
PubnativeHttpRequest - Class in net.pubnative.library.network
 
PubnativeHttpRequest() - Constructor for class net.pubnative.library.network.PubnativeHttpRequest
 
PubnativeHttpRequest.Listener - Interface in net.pubnative.library.network
 
PubnativeImpressionManager - Class in net.pubnative.library.tracking
 
PubnativeImpressionTracker - Class in net.pubnative.library.tracking
 
PubnativeImpressionTracker() - Constructor for class net.pubnative.library.tracking.PubnativeImpressionTracker
 
PubnativeImpressionTracker.Listener - Interface in net.pubnative.library.tracking
 
PubnativeMeta - Interface in net.pubnative.library.request
Interface with all possible Meta fields
PubnativeRequest - Class in net.pubnative.library.request
 
PubnativeRequest() - Constructor for class net.pubnative.library.request.PubnativeRequest
 
PubnativeRequest.Listener - Interface in net.pubnative.library.request
Listener interface used to start Pubnative request with success and failure callbacks.
PubnativeRequest.Parameters - Interface in net.pubnative.library.request
Interface with all possible request parameters
PubnativeTrackingManager - Class in net.pubnative.library.tracking
 
PubnativeTrackingManager() - Constructor for class net.pubnative.library.tracking.PubnativeTrackingManager
 
PubnativeTrackingURLModel - Class in net.pubnative.library.tracking.model
 
PubnativeTrackingURLModel() - Constructor for class net.pubnative.library.tracking.model.PubnativeTrackingURLModel
 
PubnativeVisibilityTracker - Class in net.pubnative.library.tracking
 
PubnativeVisibilityTracker() - Constructor for class net.pubnative.library.tracking.PubnativeVisibilityTracker
 
PubnativeVisibilityTracker.Listener - Interface in net.pubnative.library.tracking
 
PubnativeWebView - Class in net.pubnative.library.widget
 
PubnativeWebView(Context) - Constructor for class net.pubnative.library.widget.PubnativeWebView
 
PubnativeWebView(Context, AttributeSet) - Constructor for class net.pubnative.library.widget.PubnativeWebView
 
PubnativeWebView(Context, AttributeSet, int) - Constructor for class net.pubnative.library.widget.PubnativeWebView
 

R

RATING - Static variable in interface net.pubnative.library.request.PubnativeAsset
 
removeView(View) - Method in class net.pubnative.library.tracking.PubnativeImpressionTracker
Stops tracking the view
removeView(View) - Method in class net.pubnative.library.tracking.PubnativeVisibilityTracker
Removes the view for visibility tracking
request(Context, PubnativeAdvertisingId.Listener) - Method in class net.pubnative.library.utils.PubnativeAdvertisingId
 
REVENUE_MODEL - Static variable in interface net.pubnative.library.request.PubnativeMeta
 

S

setConnectionTimeout(int) - Static method in class net.pubnative.library.network.PubnativeHttpRequest
Sets a timeout for establishing connection with the server, if not specified default is 4000 ms
setContextText(String) - Method in class net.pubnative.library.widget.PubnativeContentInfoWidget
 
setCoppaMode(boolean) - Method in class net.pubnative.library.request.PubnativeRequest
Sets COPPA mode to the status enabled in the parameter
setIconClickUrl(String) - Method in class net.pubnative.library.widget.PubnativeContentInfoWidget
 
setIconUrl(String) - Method in class net.pubnative.library.widget.PubnativeContentInfoWidget
 
setListener(PubnativeImpressionTracker.Listener) - Method in class net.pubnative.library.tracking.PubnativeImpressionTracker
Sets listener for callbacks related to the impression of added views
setListener(PubnativeVisibilityTracker.Listener) - Method in class net.pubnative.library.tracking.PubnativeVisibilityTracker
Sets listener for callbacks
setParameter(String, String) - Method in class net.pubnative.library.request.PubnativeRequest
Sets parameters required to make the pub native request
setParameterArray(String, String[]) - Method in class net.pubnative.library.request.PubnativeRequest
Sets parameters required to make the pub native request
setTestMode(boolean) - Method in class net.pubnative.library.request.PubnativeRequest
Sets test mode to the status passed in the parameter
setTimeout(int) - Method in class net.pubnative.library.request.PubnativeRequest
Sets the timeout for the request to the specified timeout
setUseClickCaching(boolean) - Method in class net.pubnative.library.request.model.PubnativeAdModel
 
setUseClickInBackground(boolean) - Method in class net.pubnative.library.request.model.PubnativeAdModel
 
setUseClickLoader(boolean) - Method in class net.pubnative.library.request.model.PubnativeAdModel
This will enable / disable the spin that takes the screen on click.
sha1(String) - Static method in class net.pubnative.library.utils.Crypto
Encrypts the given input string using SHA-1 algorithm
STANDARD_BANNER - Static variable in interface net.pubnative.library.request.PubnativeAsset
 
start(Context, String, PubnativeHttpRequest.Listener) - Method in class net.pubnative.library.network.PubnativeHttpRequest
This method will start a new request to the given URL
start(Context, PubnativeRequest.Listener) - Method in class net.pubnative.library.request.PubnativeRequest
Starts pubnative request, This function make the ad request to the pubnative server.
startTimestamp - Variable in class net.pubnative.library.tracking.model.PubnativeTrackingURLModel
 
startTracking(View, PubnativeAdModel.Listener) - Method in class net.pubnative.library.request.model.PubnativeAdModel
Start tracking of ad view to auto confirm impressions and handle clicks
startTracking(View, View, PubnativeAdModel.Listener) - Method in class net.pubnative.library.request.model.PubnativeAdModel
 
startTracking(View, View, Map<String, String>, PubnativeAdModel.Listener) - Method in class net.pubnative.library.request.model.PubnativeAdModel
Start tracking of ad view to auto confirm impressions and handle clicks
startTrackingView(View, PubnativeImpressionTracker.Listener) - Static method in class net.pubnative.library.tracking.PubnativeImpressionManager
Starts tracking a view removing any previous reference of this one, so there is not duplicated check, (that could happen when reusing views)
status - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3ResponseModel
 
stopTracking() - Method in class net.pubnative.library.request.model.PubnativeAdModel
stop tracking of ad view
stopTrackingAll(PubnativeImpressionTracker.Listener) - Static method in class net.pubnative.library.tracking.PubnativeImpressionManager
Stops tracking all views related to the passed listener
stopTrackingView(View) - Static method in class net.pubnative.library.tracking.PubnativeImpressionManager
Stops tracking the view
SystemUtils - Class in net.pubnative.library.utils
 
SystemUtils() - Constructor for class net.pubnative.library.utils.SystemUtils
 

T

TEST - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
TITLE - Static variable in interface net.pubnative.library.request.PubnativeAsset
 
track(Context, String) - Static method in class net.pubnative.library.tracking.PubnativeTrackingManager
This method is used to send impression request
type - Variable in class net.pubnative.library.request.model.api.PubnativeAPIV3DataModel
 

U

url - Variable in class net.pubnative.library.tracking.model.PubnativeTrackingURLModel
 

V

VAST - Static variable in interface net.pubnative.library.request.PubnativeAsset
 
VIDEO - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 

Z

ZONE_ID - Static variable in interface net.pubnative.library.request.PubnativeRequest.Parameters
 
A B C D E F G H I K L M N O P R S T U V Z 
Skip navigation links