public interface TJPlacementListener
Modifier and Type | Method and Description |
---|---|
void |
onClick(TJPlacement placement)
Called when a click event has occurred
|
void |
onContentDismiss(TJPlacement placement)
Called when a content for the given placement is dismissed.
|
void |
onContentReady(TJPlacement placement)
Called when a content for the given placement is ready to show.
|
void |
onContentShow(TJPlacement placement)
Called when a content for the given placement is showing.
|
void |
onPurchaseRequest(TJPlacement placement,
TJActionRequest request,
java.lang.String productId)
Called when a purchase has been requested.
|
void |
onRequestFailure(TJPlacement placement,
TJError error) |
void |
onRequestSuccess(TJPlacement placement) |
void |
onRewardRequest(TJPlacement placement,
TJActionRequest request,
java.lang.String itemId,
int quantity)
Called when a reward unlock has been requested.
|
void onRequestSuccess(TJPlacement placement)
void onRequestFailure(TJPlacement placement, TJError error)
void onContentReady(TJPlacement placement)
placement
- the placement that was requestedvoid onContentShow(TJPlacement placement)
placement
- the placement that was requestedvoid onContentDismiss(TJPlacement placement)
placement
- the placement that was requestedvoid onPurchaseRequest(TJPlacement placement, TJActionRequest request, java.lang.String productId)
placement
- request
- productId
- void onRewardRequest(TJPlacement placement, TJActionRequest request, java.lang.String itemId, int quantity)
placement
- request
- itemId
- the name of the rewarded itemquantity
- the quantity of the rewarded itemvoid onClick(TJPlacement placement)
placement
-