HeliumRewardedAd

class HeliumRewardedAd(context: Context, val placementName: String, var heliumFullscreenAdListener: HeliumFullscreenAdListener?) : HeliumFullscreenAd

Deprecated

Use HeliumSdk.loadFullscreenAd(Context, ChartboostMediationAdLoadRequest, ChartboostMediationFullscreenAdListener) and ChartboostMediationFullscreenAd.show(Context) for the most comprehensive fullscreen ad experience.

The Helium Rewarded Ad.

Parameters

context

The current Context.

placementName

The placement name of the ad.

Constructors

Link copied to clipboard
constructor(context: Context, placementName: String, heliumFullscreenAdListener: HeliumFullscreenAdListener?)

Properties

Link copied to clipboard

Set an arbitrary String to send to the rewarded callback for the %%CUSTOM_DATA%% macro. This is recommended to be a base64 String.

Link copied to clipboard

The listener to notify of Helium rewarded ad events.

Link copied to clipboard
open override val keywords: Keywords

Create a new Keywords on which keywords can be set.

Link copied to clipboard
open override val placementName: String

Get the Helium Ad's placement name

Functions

Link copied to clipboard

Clear an ad that has successfully loaded so it can be loaded again. Also cancels any in-flight load requests.

Link copied to clipboard
open override fun destroy()

Destroys the ad and does the necessary clean up and clears listeners.

Link copied to clipboard
open override fun load()

Load content for this ad.

Link copied to clipboard

Check if an ad is ready to be shown.

Link copied to clipboard
fun show()

Show this ad