OOStaticResource

Objective-C

@interface OOStaticResource : OOResource

Swift

class OOStaticResource : OOResource

A static resource, such as an image or Flash banner, used by OOPulseCompanionAd.

  • A URL of a page which should be opened when the user clicks a companion displaying the static resource.

    Declaration

    Objective-C

    - (NSURL *)clickThroughURL;

    Swift

    func clickThroughURL() -> URL!
  • Asset MIME type. Equal to creativeType in the VAST 3.0 spec.

    Declaration

    Objective-C

    - (NSString *)mimeType;

    Swift

    func mimeType() -> String!
  • The URL of the asset to display.

    Declaration

    Objective-C

    - (NSURL *)URL;

    Swift

    func url() -> URL!