Interface IFullscreenAd
Base public interface for Fullscreen API.
Namespace: Chartboost.Mediation.Ad.Fullscreen
Assembly: Chartboost.Mediation.dll
Syntax
public interface IFullscreenAd : IAd, IDisposable
Properties
CustomData
The custom data for the ad.
Declaration
string CustomData { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LoadId
The identifier for this load call.
Declaration
string LoadId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Request
The publisher-supplied ChartboostMediationFullscreenAdLoadRequest that was used to load the ad.
Declaration
FullscreenAdLoadRequest Request { get; }
Property Value
| Type | Description |
|---|---|
| FullscreenAdLoadRequest |
WinningBidInfo
The winning bid info for the ad.
Declaration
BidInfo WinningBidInfo { get; }
Property Value
| Type | Description |
|---|---|
| BidInfo |
Methods
Dispose()
Disposes the ad. This should be called when the ad is no longer needed.
Declaration
void Dispose()
Show()
Show the fullscreen ad.
Declaration
Task<AdShowResult> Show()
Returns
| Type | Description |
|---|---|
| Task<AdShowResult> | Ad show result data. |
Events
DidClick
Called when the ad executes its click-through. This may happen multiple times for the same ad.
Declaration
event FullscreenAdEvent DidClick
Event Type
| Type | Description |
|---|---|
| FullscreenAdEvent |
DidClose
Called when the ad is closed.
Declaration
event FullscreenAdEventWithError DidClose
Event Type
| Type | Description |
|---|---|
| FullscreenAdEventWithError |
DidExpire
Called when the ad is expired by the partner SDK/adapter.
Declaration
event FullscreenAdEvent DidExpire
Event Type
| Type | Description |
|---|---|
| FullscreenAdEvent |
DidRecordImpression
Called when an ad impression occurs. This signal is when Chartboost Mediation fires an impression and is independent of any partner impression.
Declaration
event FullscreenAdEvent DidRecordImpression
Event Type
| Type | Description |
|---|---|
| FullscreenAdEvent |
DidReward
Called when the user should receive the reward associated with this rewarded ad.
Declaration
event FullscreenAdEvent DidReward
Event Type
| Type | Description |
|---|---|
| FullscreenAdEvent |