Package 

Interface Placement

    • Method Detail

      • loadAd

         Unit loadAd(Function1<Boolean, Unit> onResult)

        Checks to see if there is an ad available.

        Parameters:
        onResult -
        • The specified function block to where loadAd will callback with the loaded ad's availability.

      • loadAd

         abstract Unit loadAd(HyprMXLoadAdListener listener)

        Checks to see if there is an ad available.

        Parameters:
        listener -
        • loadAd will callback with the loaded ad's availability.

      • loadAd

         abstract Boolean loadAd()

        Checks to see if there is an ad available.

      • loadAd

         Unit loadAd(String bidResponse, Function1<Boolean, Unit> onResult)

        Load the placement with the bid response.

        Parameters:
        bidResponse - The bid response from the bidding mediator.
        onResult -
        • The specified function block to where loadAd will callback with the loaded ad's availability.

      • loadAd

         abstract Unit loadAd(String bidResponse, HyprMXLoadAdListener listener)

        Load the placement with the bid response.

        Parameters:
        bidResponse - The bid response from the bidding mediator.
        listener -
        • loadAd will callback with the loaded ad's availability.

      • loadAd

         abstract Boolean loadAd(String bidResponse)

        Load the placement with the bid response.

        Parameters:
        bidResponse - The bid response from the bidding mediator.
      • showAd

         abstract Unit showAd(HyprMXShowListener listener)

        Shows the ad associated with this placement.

        Parameters:
        listener - The listener to where ad states will be called back.