public interface AbstractChartboostDelegate
ChartboostDelegate instead.| Modifier and Type | Method and Description |
|---|---|
void |
didCacheInPlay(java.lang.String location)
Called after an InPlay object has been loaded from the Chartboost API
servers and cached locally.
|
void |
didCacheInterstitial(java.lang.String location)
Called after an interstitial has been loaded from the Chartboost API
servers and cached locally.
|
void |
didCacheMoreApps(java.lang.String location)
Deprecated.
Support for MoreApps has been removed as of SDK 7.
|
void |
didCacheRewardedVideo(java.lang.String location)
Called after a rewarded video has been loaded from the Chartboost API
servers and cached locally.
|
void |
didClickInterstitial(java.lang.String location)
Called after an interstitial has been clicked.
|
void |
didClickMoreApps(java.lang.String location)
Deprecated.
Support for MoreApps has been removed as of SDK 7.
|
void |
didClickRewardedVideo(java.lang.String location)
Called after a rewarded video has been clicked.
|
void |
didCloseInterstitial(java.lang.String location)
Called after an interstitial has been closed.
|
void |
didCloseMoreApps(java.lang.String location)
Deprecated.
Support for MoreApps has been removed as of SDK 7.
|
void |
didCloseRewardedVideo(java.lang.String location)
Called after a rewarded video has been closed.
|
void |
didCompleteInterstitial(java.lang.String location)
Called after an interstitial has been viewed completely.
|
void |
didCompleteRewardedVideo(java.lang.String location,
int reward)
Called after a rewarded video has been viewed completely and user is eligible for reward.
|
void |
didDismissInterstitial(java.lang.String location)
Called after an interstitial has been dismissed.
|
void |
didDismissMoreApps(java.lang.String location)
Deprecated.
Support for MoreApps has been removed as of SDK 7.
|
void |
didDismissRewardedVideo(java.lang.String location)
Called after a rewarded video has been dismissed.
|
void |
didDisplayInterstitial(java.lang.String location)
Called after an interstitial has been displayed on the screen.
|
void |
didDisplayMoreApps(java.lang.String location)
Deprecated.
Support for MoreApps has been removed as of SDK 7.
|
void |
didDisplayRewardedVideo(java.lang.String location)
Called after a rewarded video has been displayed on the screen.
|
void |
didFailToLoadInPlay(java.lang.String location,
CBError.CBImpressionError error)
Called after a InPlay has attempted to load from the Chartboost API
servers but failed.
|
void |
didFailToLoadInterstitial(java.lang.String location,
CBError.CBImpressionError error)
Called after an interstitial has attempted to load from the Chartboost API
servers but failed.
|
void |
didFailToLoadMoreApps(java.lang.String location,
CBError.CBImpressionError error)
Deprecated.
Support for MoreApps has been removed as of SDK 7.
|
void |
didFailToLoadRewardedVideo(java.lang.String location,
CBError.CBImpressionError error)
Called after a rewarded video has attempted to load from the Chartboost API
servers but failed.
|
void |
didFailToRecordClick(java.lang.String uri,
CBError.CBClickError error)
Called after a click is registered, but the user is not forwarded to the Google Play Store.
|
void |
didInitialize()
Called when the SDK is finished initializing.
|
boolean |
shouldDisplayInterstitial(java.lang.String location)
Called before an interstitial will be displayed on the screen.
|
boolean |
shouldDisplayMoreApps(java.lang.String location)
Deprecated.
Support for MoreApps has been removed as of SDK 7.
|
boolean |
shouldDisplayRewardedVideo(java.lang.String location)
Called before a rewarded video will be displayed on the screen.
|
boolean |
shouldRequestInterstitial(java.lang.String location)
Called before requesting an interstitial via the Chartboost API server.
|
boolean |
shouldRequestMoreApps(java.lang.String location)
Deprecated.
Support for MoreApps has been removed as of SDK 7.
|
void |
willDisplayInterstitial(java.lang.String location)
Called before the interstitial is about to be displayed on the screen.
|
void |
willDisplayVideo(java.lang.String location)
Called before the video is about to be displayed on the screen.
|
boolean shouldRequestInterstitial(java.lang.String location)
Implement to control if the Chartboost SDK should fetch data from
the Chartboost API servers for the given CBLocation}. This is evaluated
if the Chartboost.showInterstitial(String)} orChartboost.cacheInterstitial(String)}
are called. If true is returned the operation will proceed, if false, then the operation is treated as a no-op.
location - The location for the Chartboost impression type.boolean shouldDisplayInterstitial(java.lang.String location)
Implement to control if the Chartboost SDK should display an interstitial for the given CBLocation}. This is evaluated if the Chartboost.showInterstitial(String)}
is called. If true is returned the operation will proceed, if false, then the
operation is treated as a no-op and nothing is displayed.
location - The location for the Chartboost impression type.void didCacheInterstitial(java.lang.String location)
Implement to be notified of when an interstitial has been loaded from the Chartboost API
servers and cached locally for a given CBLocation}.
location - The location for the Chartboost impression type.void didFailToLoadInterstitial(java.lang.String location,
CBError.CBImpressionError error)
Implement to be notified of when an interstitial has attempted to load from the Chartboost API
servers but failed for a given CBLocation}.
location - The location for the Chartboost impression type.error - The reason for the error defined via a CBError.CBImpressionError.void willDisplayInterstitial(java.lang.String location)
location - The location for the Chartboost impression type.void didDismissInterstitial(java.lang.String location)
Implement to be notified of when an interstitial has been dismissed for a given CBLocation}.
"Dismissal" is defined as any action that removed the interstitial UI such as a click or close.
location - The location for the Chartboost impression type.void didCloseInterstitial(java.lang.String location)
Implement to be notified of when an interstitial has been closed for a given CBLocation}.
"Closed" is defined as clicking the close interface for the interstitial.
location - The location for the Chartboost impression type.void didClickInterstitial(java.lang.String location)
Implement to be notified of when an interstitial has been click for a given CBLocation}.
"Clicked" is defined as clicking the creative interface for the interstitial.
location - The location for the Chartboost impression type.void didCompleteInterstitial(java.lang.String location)
Implement to be notified of when an interstitial has been viewed completely.
location - The location for the Chartboost impression type.void didDisplayInterstitial(java.lang.String location)
Implement to be notified of when an interstitial has
been displayed on the screen for a given CBLocation}.
location - The location for the Chartboost impression type.boolean shouldRequestMoreApps(java.lang.String location)
void didCacheMoreApps(java.lang.String location)
Implement to be notified of when an "more applications" has been loaded from the Chartboost API
servers and cached locally for a given CBLocation}.
location - The location for the Chartboost impression type.boolean shouldDisplayMoreApps(java.lang.String location)
Implement to control if the Chartboost SDK should display an "more applications"
for the given CBLocation. This is evaluated if the Chartboost.showMoreApps(String)
is called. If true is returned the operation will proceed, if false, then the
operation is treated as a no-op and nothing is displayed.
location - The location for the Chartboost impression type.void didFailToLoadMoreApps(java.lang.String location,
CBError.CBImpressionError error)
Implement to be notified of when an "more applications" has attempted to load from the Chartboost API
servers but failed for a given CBLocation.
location - The location for the Chartboost impression type.error - The reason for the error defined via a CBError.CBImpressionError}.void didDismissMoreApps(java.lang.String location)
Implement to be notified of when an "more applications" has been dismissed for a given CBLocation}.
"Dismissal" is defined as any action that removed the "more applications" UI such as a click or close.
location - The location for the Chartboost impression type.void didCloseMoreApps(java.lang.String location)
Implement to be notified of when an "more applications" has been closed for a given CBLocation.
"Closed" is defined as clicking the close interface for the "more applications".
location - The location for the Chartboost impression type.void didClickMoreApps(java.lang.String location)
Implement to be notified of when an "more applications" has been click for a given CBLocation.
"Clicked" is defined as clicking the creative interface for the "more applications".
location - The location for the Chartboost impression type.void didDisplayMoreApps(java.lang.String location)
Implement to be notified of when an "more applications" has
been displayed on the screen for a given CBLocation}.
location - The location for the Chartboost impression type.void didFailToRecordClick(java.lang.String uri,
CBError.CBClickError error)
Implement to be notified of when a click is registered, but the user is not forwarded
to the Google Play Store for a given CBLocation}.
uri - The uri that failed to be forwarded.error - The reason for the error defined via a CBError.CBClickError}.void didCacheInPlay(java.lang.String location)
Implement to be notified of when an InPlay object has been loaded from the Chartboost API
servers and cached locally for a given CBLocation}.
location - The location for the Chartboost impression type.void didFailToLoadInPlay(java.lang.String location,
CBError.CBImpressionError error)
Implement to be notified of when an InPlay has attempted to load from the Chartboost API
servers but failed for a given CBLocation}.
location - The location for the Chartboost impression type.error - The reason for the error defined via a {@link CBImpressionError).boolean shouldDisplayRewardedVideo(java.lang.String location)
Implement to control if the Chartboost SDK should display a rewarded video
for the given CBLocation. This is evaluated if the Chartboost.showRewardedVideo(String)
is called. If true is returned the operation will proceed, if false, then the
operation is treated as a no-op and nothing is displayed.
location - The location for the Chartboost impression type.void didCacheRewardedVideo(java.lang.String location)
Implement to be notified of when a rewarded video has been loaded from the Chartboost API
servers and cached locally for a given CBLocation.
location - The location for the Chartboost impression type.void didFailToLoadRewardedVideo(java.lang.String location,
CBError.CBImpressionError error)
Implement to be notified of when an rewarded video has attempted to load from the Chartboost API
servers but failed for a given CBLocation}.
location - The location for the Chartboost impression type.error - The reason for the error defined via a CBError.CBImpressionError}.void didDismissRewardedVideo(java.lang.String location)
Implement to be notified of when a rewarded video has been dismissed for a given CBLocation}.
"Dismissal" is defined as any action that removed the rewarded video UI such as a click or close.
location - The location for the Chartboost impression type.void didCloseRewardedVideo(java.lang.String location)
Implement to be notified of when a rewarded video has been closed for a given CBLocation.
"Closed" is defined as clicking the close interface for the rewarded video.
location - The location for the Chartboost impression type.void didClickRewardedVideo(java.lang.String location)
Implement to be notified of when a rewarded video has been click for a given CBLocation.
"Clicked" is defined as clicking the creative interface for the rewarded video.
location - The location for the Chartboost impression type.void didCompleteRewardedVideo(java.lang.String location,
int reward)
Implement to be notified of when a rewarded video has been viewed completely and user is eligible for reward.
location - The location for the Chartboost impression type.reward - The reward for watching the video.void didDisplayRewardedVideo(java.lang.String location)
Implement to be notified of when a rewarded video has
been displayed on the screen for a given CBLocation.
location - The location for the Chartboost impression type.void willDisplayVideo(java.lang.String location)
location - The location for the Chartboost impression type.void didInitialize()