public class LoadOperation extends AdOperation implements ILoadOperation
| Constructor and Description |
|---|
LoadOperation(LoadOperationState loadOperationState,
IWebViewBridgeInvocation webViewBridgeInvocation) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId() |
LoadOperationState |
getLoadOperationState() |
void |
onUnityAdsAdLoaded(java.lang.String placementId)
Callback triggered when a load request has successfully filled the specified placementId with an ad that is ready to show.
|
void |
onUnityAdsFailedToLoad(java.lang.String placementId,
UnityAds.UnityAdsLoadError error,
java.lang.String message)
Callback triggered when load request has failed to load an ad for a requested placement.
|
invokeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokepublic LoadOperation(LoadOperationState loadOperationState, IWebViewBridgeInvocation webViewBridgeInvocation)
public LoadOperationState getLoadOperationState()
getLoadOperationState in interface ILoadOperationpublic void onUnityAdsAdLoaded(java.lang.String placementId)
IUnityAdsLoadListeneronUnityAdsAdLoaded in interface IUnityAdsLoadListenerplacementId - Placement, as defined in Unity Ads admin toolspublic void onUnityAdsFailedToLoad(java.lang.String placementId,
UnityAds.UnityAdsLoadError error,
java.lang.String message)
IUnityAdsLoadListeneronUnityAdsFailedToLoad in interface IUnityAdsLoadListenerplacementId - Placement, as defined in Unity Ads admin toolserror - Error code related to the error See: UnityAds.UnityAdsLoadErrormessage - Human-readable error messagepublic java.lang.String getId()
getId in interface IWebViewSharedObject