Class GoogleImaAdDescription

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getSources() A source which contains the location of the ad resources to be scheduled.
      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

    • Method Detail

      • getSources

        @NonNull() String getSources()

        A source which contains the location of the ad resources to be scheduled.

        • This should *not* be an array of sources.
        • VPAID support is limited to the 'google-ima' integration.
        Returns:

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

      • getTimeOffset

        @Nullable() String getTimeOffset()

        The offset after which the ad break will start.

        • 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.
        Returns:

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