Package 

Interface PlacementListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onAdStarted(Placement placement) The ad has started showing
      abstract void onAdClosed(Placement placement, boolean finished) The ad has finished showing
      abstract void onAdDisplayError(Placement placement, HyprMXErrors hyprMXError) There was an error with the placement during presentation.
      abstract void onAdAvailable(Placement placement) The ad is available for the placement
      abstract void onAdNotAvailable(Placement placement) There is no fill for the placement
      void onAdExpired(Placement placement) An ad is no longer available for the placement
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onAdStarted

         abstract void onAdStarted(Placement placement)

        The ad has started showing

        Parameters:
        placement - The placement being shown
      • onAdClosed

         abstract void onAdClosed(Placement placement, boolean finished)

        The ad has finished showing

        Parameters:
        placement - The placement being show
        finished - true if the ad finished, false otherwise
      • onAdDisplayError

         abstract void onAdDisplayError(Placement placement, HyprMXErrors hyprMXError)

        There was an error with the placement during presentation.

        Parameters:
        placement - The placement with the error
        hyprMXError - The error that occurred
      • onAdAvailable

         abstract void onAdAvailable(Placement placement)

        The ad is available for the placement

        Parameters:
        placement - The placement that was loaded
      • onAdNotAvailable

         abstract void onAdNotAvailable(Placement placement)

        There is no fill for the placement

        Parameters:
        placement - The placement that was loaded
      • onAdExpired

         void onAdExpired(Placement placement)

        An ad is no longer available for the placement

        Parameters:
        placement - The placement that expired