Class GoogleImaAdDescription.Builder

    • 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
    • Constructor Detail

      • GoogleImaAdDescription.Builder

        GoogleImaAdDescription.Builder(String source)
        Creates a builder for GoogleImaAdDescription configured with an ad source.
        Parameters:
        source - The source which contains the location of the ad resources to be scheduled.
    • Method Detail

      • timeOffset

        @NonNull() GoogleImaAdDescription.Builder timeOffset(@NonNull() String timeOffset)

        Sets the offset after which the ad break will start. Possible formats:

        • A number for the offset in seconds.
        • A percentage string (XX%) for a proportion of the content duration.
        • A time-description specifying "start" or "end".
        • A timestamp of the format: 00:00:10.000.
        Parameters:
        timeOffset - The time offset after which the ad break will start.