Class StaticResource

java.lang.Object
com.ooyala.pulse.StaticResource
All Implemented Interfaces:
Resource

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

    • getClickThrough

      public 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 String getMimeType()
      Asset MIME type. Equal to creativeType in the VAST 3.0 spec.
      Returns:
      The mimetype of the target resource.
    • getURL

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