MRQContent Class Reference

Inherits from NSObject
Declared in MRQContent.h

Overview

Container for display content sent by the MobileRQ service.

  content

The content data.

@property (readonly) NSString *content

Declared In

MRQContent.h

  contentType

The media type of the content.

@property (readonly) NSString *contentType

Declared In

MRQContent.h

  data

The data sent by the MobileRQ service used to init this content.

@property (readonly) NSDictionary *data

Declared In

MRQContent.h

  encoding

The content encoding.

@property (readonly) NSString *encoding

Declared In

MRQContent.h

  size

The dimensions of the content in pixels.

@property (readonly) CGSize size

Declared In

MRQContent.h

– aspectRatio

Width / height.

- (CGFloat)aspectRatio

Declared In

MRQContent.h

  viewUrl

The URL to GET when the content is viewed. This is for tracking/analytics purposes.

@property (readonly) NSURL *viewUrl

Declared In

MRQContent.h

  clickUrl

The URL to GET when the content is clicked. This is for tracking/analytics purposes.

@property (readonly) NSURL *clickUrl

Declared In

MRQContent.h

  creativeUrl

The creative URL defined by the creative.

@property (readonly) NSURL *creativeUrl

Declared In

MRQContent.h

  audienceId

The ID of the matching audience in the MobileRQ service.

@property (readonly) NSString *audienceId

Declared In

MRQContent.h

  campaignId

The ID of the matching campaign in the MobileRQ service.

@property (readonly) NSString *campaignId

Declared In

MRQContent.h

  creativeId

The ID of the matching creative in the MobileRQ service.

@property (readonly) NSString *creativeId

Declared In

MRQContent.h

  slotName

The name of the slot that the content is associated.

@property (readonly) NSString *slotName

Declared In

MRQContent.h

– initWithData:

Init content with data sent by the MobileRQ service.

- (id)initWithData:(NSDictionary *)data

Parameters

data

The data sent by the MobileRQ service.

Declared In

MRQContent.h