Interface POBRewardedAdRendererListener
-
- All Implemented Interfaces:
@MainThread() public interface POBRewardedAdRendererListener
POBRewardedAdRendererListener is an interface having the callback events which will be invoked on rendering event of video view.
-
-
Method Summary
Modifier and Type Method Description abstract voidonAdEventOccurred(@NonNull() POBDataType.POBVideoAdEventType event)Notifies on video event occurred. abstract voidonAdInteractionStarted()Notifies about the ad interaction start. abstract voidonAdInteractionStopped()Notifies about the ad interaction stop. abstract voidonAdRender(@Nullable() POBAdDescriptor descriptor)Notifies the success event of the HTML view rendering abstract voidonAdRenderingFailed(@NonNull() POBError error)Notifies the failure cause of the HTML view rendering abstract voidonAdClicked()Notifies the click event on the rendered HTML view abstract voidonLeavingApplication()Notifies the application leave event on the rendered HTML view abstract voidonAdExpired()Notifies the expired event on the rendered HTML view abstract voidonReceiveReward(@Nullable() POBCoreReward reward)Notifies reward has been received and reward should be offered to user. abstract voidonAdImpression()Notifies ad impression -
-
Method Detail
-
onAdEventOccurred
@Deprecated() abstract void onAdEventOccurred(@NonNull() POBDataType.POBVideoAdEventType event)
Notifies on video event occurred. Note: Deprecated on OpenWrap SDK v2.4.0 and will be removed from future SDK version.
- Parameters:
event- Video event.
-
onAdInteractionStarted
abstract void onAdInteractionStarted()
Notifies about the ad interaction start.
-
onAdInteractionStopped
abstract void onAdInteractionStopped()
Notifies about the ad interaction stop.
-
onAdRender
abstract void onAdRender(@Nullable() POBAdDescriptor descriptor)
Notifies the success event of the HTML view rendering
- Parameters:
descriptor- POBAdDescriptor object for Ad rendering
-
onAdRenderingFailed
abstract void onAdRenderingFailed(@NonNull() POBError error)
Notifies the failure cause of the HTML view rendering
- Parameters:
error- Error object with failure cause
-
onAdClicked
abstract void onAdClicked()
Notifies the click event on the rendered HTML view
-
onLeavingApplication
abstract void onLeavingApplication()
Notifies the application leave event on the rendered HTML view
-
onAdExpired
abstract void onAdExpired()
Notifies the expired event on the rendered HTML view
-
onReceiveReward
abstract void onReceiveReward(@Nullable() POBCoreReward reward)
Notifies reward has been received and reward should be offered to user. Introduced in OpenWrap SDK v2.4.0 to notify reward received callback
Note: If reward validation/handling is done at client side partner then only pass the valid/non-null rewards else pass null rewards and reward selection is handled by AdServer
- Parameters:
reward- instance of POBCoreReward
-
onAdImpression
abstract void onAdImpression()
Notifies ad impression
-
-
-
-