Interface NonLinearAd

  • All Implemented Interfaces:
    com.theoplayer.android.api.ads.Ad

    
    public interface NonLinearAd
     implements Ad
                        

    The NonLinearAd API represents a non-linear ad in the VAST specification.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • 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
      abstract String getClickThrough() The website of the advertiser.
      abstract String getResourceURI() The URI of the the ad content.
      • Methods inherited from class com.theoplayer.android.api.ads.Ad

        getAdBreak, getCompanions, getId, getIntegration, getSkipOffset, getType
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getClickThrough

        @NonNull() abstract String getClickThrough()

        The website of the advertiser.

        • Only supported for StaticResource.

        Default: Empty string.

        Returns:

        The website of the advertiser. (NonNull)

      • getResourceURI

        @NonNull() abstract String getResourceURI()

        The URI of the the ad content.

        Default: Empty string.

        Returns:

        The ad's content URI. (NonNull)