public interface LoadAdCallback
Modifier and Type | Method and Description |
---|---|
void |
onAdLoad(java.lang.String id)
Callback used to notify that the advertisement assets have been downloaded and are ready to
play.
|
void |
onError(java.lang.String id,
java.lang.Throwable cause)
Callback used to notify that an error has occurred while downloading assets.
|
void onAdLoad(java.lang.String id)
id
- The placement identifier for which the advertisement assets have been downloaded.void onError(java.lang.String id, java.lang.Throwable cause)
id
- The identifier for the placement for which the error occurred.cause
- Throwable
which will usually be an instance of VungleException
when the cause is known. This could also be an IOException
,
in the case of no disk space.