-
public interface PlacementListener
-
-
Method Summary
Modifier and Type Method Description abstract voidonAdStarted(Placement placement)The ad has started showing abstract voidonAdClosed(Placement placement, boolean finished)The ad has finished showing abstract voidonAdDisplayError(Placement placement, HyprMXErrors hyprMXError)There was an error with the placement during presentation. abstract voidonAdAvailable(Placement placement)The ad is available for the placement abstract voidonAdNotAvailable(Placement placement)There is no fill for the placement voidonAdExpired(Placement placement)An ad is no longer available for the placement -
-
Method Detail
-
onAdStarted
abstract void onAdStarted(Placement placement)
The ad has started showing
- Parameters:
placement- The placement being shown
-
onAdClosed
abstract void onAdClosed(Placement placement, boolean finished)
The ad has finished showing
- Parameters:
placement- The placement being showfinished- true if the ad finished, false otherwise
-
onAdDisplayError
abstract void onAdDisplayError(Placement placement, HyprMXErrors hyprMXError)
There was an error with the placement during presentation.
- Parameters:
placement- The placement with the errorhyprMXError- The error that occurred
-
onAdAvailable
abstract void onAdAvailable(Placement placement)
The ad is available for the placement
- Parameters:
placement- The placement that was loaded
-
onAdNotAvailable
abstract void onAdNotAvailable(Placement placement)
There is no fill for the placement
- Parameters:
placement- The placement that was loaded
-
onAdExpired
void onAdExpired(Placement placement)
An ad is no longer available for the placement
- Parameters:
placement- The placement that expired
-
-
-
-