XACompanionResource Protocol Reference

Conforms to NSCoding
XALoading
Declared in XACompanionResource.h

Overview

The companion resource is the primary display resource for the companion ad.

See DAAST 3.2.2.2 for information on the companion resource.

  image required method

The image that is displayed on the companion.

@property (nullable, readonly) UIImage *image

Discussion

The image that is displayed on the companion.

This is typically used for displaying on external devices and screens while the ad plays.

Declared In

XACompanionResource.h

  url required method

The URL for the resource.

@property (nonnull, readonly) NSURL *url

Discussion

The URL for the resource.

Declared In

XACompanionResource.h