Last Updated on
July 15, 2022
The Chartboost SDK's delegate methods allow you to exercise a greater degree of control over your integration. For example, you can:
You can view the Chartboost Android SDK methods at your disposal in the documentation located in the doc folder included with your Android SDK download. You can see many of these methods in use in the sample project included in the package. SDK configuration methods
Click here to view Android configuration methods.
Before using any delegate functions, set the Chartboost delegate in your activity's onCreate() method, like so:
After that, initiate the delegate object and declare the delegate methods as follows:
CBImpressionError objects passed as parameters in delegate method calls include an adID property.
This is a string that uniquely identifies a cached ad. It might help when working with Chartboost to identify faulty creatives.
Don’t make cache or show calls inside didFailToLoad delegates or the universe will implode.
Don’t make cache or show calls inside didFailToLoad delegates or the universe will implode.
Don’t make cache or show calls inside didFailToLoad delegates or the universe will implode.
Age gate methods for Android have been deprecated.