Class StaticResource

  • All Implemented Interfaces:
    Resource

    public class StaticResource
    extends java.lang.Object
    implements Resource
    A static resource, such as an image or Flash banner, used by PulseCompanionAd.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URL getClickThrough()
      A URL of a page which should be opened when the user clicks a companion displaying the static resource.
      java.lang.String getMimeType()
      Asset MIME type.
      java.net.URL getURL()
      The URL of the asset to display.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getClickThrough

        public java.net.URL getClickThrough()
        A URL of a page which should be opened when the user clicks a companion displaying the static resource.
        Returns:
        The click-through URL.
      • getMimeType

        public java.lang.String getMimeType()
        Asset MIME type. Equal to creativeType in the VAST 3.0 spec.
        Returns:
        The mimetype of the target resource.
      • getURL

        public java.net.URL getURL()
        The URL of the asset to display.
        Returns:
        The URL of the target image or Flash banner.