Package 

Class AdsConfiguration

  • All Implemented Interfaces:

    
    public class AdsConfiguration
    
                        

    The AdsConfiguration API describes the configuration of the advertisement.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class AdsConfiguration.Builder

      The builder for the advertisement configuration.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      boolean isShowCountdown() Whether an advertisement duration countdown will be shown in the UI.
      AdPreloadType isPreload() The preload type of the ad, whether media files of mid- and postrolls are preloaded.
      GoogleImaConfiguration googleIma() The GoogleImaConfiguration of the Google Interactive Media Ads.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • isShowCountdown

         boolean isShowCountdown()

        Whether an advertisement duration countdown will be shown in the UI.

        • This feature is only available for Google IMA.

        Default: true

      • isPreload

         AdPreloadType isPreload()

        The preload type of the ad, whether media files of mid- and postrolls are preloaded.

        • This feature is only available for Google IMA.

        Default: MIDROLL_AND_POSTROLL