Class AdEventListener

    • Constructor Detail

      • AdEventListener

        AdEventListener()
    • Method Detail

      • onAdFetchSuccessful

         void onAdFetchSuccessful(@NonNull() T ad, @NonNull() AdMetaInfo info)

        Called to notify that an ad was received successfully but is not ready to be displayed yet.

        Parameters:
        ad - Represents the ad which was loaded or preloaded
        info - Represents the ad meta information
      • onAdLoadSucceeded

         void onAdLoadSucceeded(@NonNull() T ad, @NonNull() AdMetaInfo info)

        Called to notify that an ad was successfully loaded and is ready to be displayed.

        Parameters:
        ad - Represents the ad which was loaded
        info - Represents the ad meta information
      • onAdClicked

         void onAdClicked(@NonNull() T ad, Map<Object, Object> params)

        Called to notify that the user interacted with the ad.

        Parameters:
        ad - Represents the ad on which user clicked
        params - Represents the click parameters
      • onRequestPayloadCreated

         void onRequestPayloadCreated(Array<byte> requestPayload)

        Called to notify when the request payload is created

        Parameters:
        requestPayload - Represents the request payload
      • onAdImpression

         void onAdImpression(@NonNull() T ad)

        Called to notify that inmobi has logged an impression for the ad

        Parameters:
        ad - Represents the ad which was impressed