Class GoogleImaAdDescription

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getSources() The URI which contains the location of the ad resources to be scheduled.
      final String getTimeOffset() The offset after which the ad break will start.
      • Methods inherited from class com.theoplayer.android.api.source.addescription.AdDescription

        getIntegration
      • Methods inherited from class java.lang.Object

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

      • GoogleImaAdDescription

        GoogleImaAdDescription(String sources, String timeOffset)
    • Method Detail

      • getSources

         final String getSources()

        The URI which contains the location of the ad resources to be scheduled. (NonNull)

      • getTimeOffset

         final String getTimeOffset()

        The offset after which the ad break will start. (Nullable)

        • VMAP resources will ignore this value as they contain an internal offset.

        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.