Class AdChoiceViewManager

  • All Implemented Interfaces:

    
    public final class AdChoiceViewManager
    
                        

    A manager for inflating and loading the AdChoice view.

    This class is responsible for creating and loading the AdChoice view, which typically displays an image indicating that the ad is an advertisement. It handles loading the image from a URL, applying transformations, and managing timeouts.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final View inflate() Inflates and loads the AdChoice view.
      • Methods inherited from class java.lang.Object

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

      • inflate

         final View inflate()

        Inflates and loads the AdChoice view.

        This method creates a StaticImageView, sets its layout parameters, and loads the AdChoice image into it. It uses the provided adChoice or the default configuration in adChoiceConfig to determine the image URL and dimensions.

        Returns:

        The inflated AdChoice view.