Inherits from LUAPIModel : NSObject
Declared in LUCampaignRepresentationBasicV1.h
LUCampaignRepresentationBasicV1.m

Overview

A basic representation of a campaign, containing a title, description and icon image.

Properties

campaignDescription

A description of the campaign.

@property (nonatomic, readonly, copy) NSString *campaignDescription

Discussion

A description of the campaign.

Declared In

LUCampaignRepresentationBasicV1.h

campaignID

The campaign’s ID.

@property (nonatomic, readonly, copy) NSNumber *campaignID

Discussion

The campaign’s ID.

Declared In

LUCampaignRepresentationBasicV1.h

title

The campaign’s title.

@property (nonatomic, readonly, copy) NSString *title

Discussion

The campaign’s title.

Declared In

LUCampaignRepresentationBasicV1.h

Instance Methods

largeIconURL

The campaign’s icon, at 200x200 points. [UIScreen mainScreen].density is used to determine the device’s density, so on a 2x retina display this will return the URL for an image at 400x400 pixels.

- (NSURL *)largeIconURL

Discussion

The campaign’s icon, at 200x200 points. [UIScreen mainScreen].density is used to determine the device’s density, so on a 2x retina display this will return the URL for an image at 400x400 pixels.

Declared In

LUCampaignRepresentationBasicV1.h

mediumIconURL

The campaign’s icon, at 100x100 points. [UIScreen mainScreen].density is used to determine the device’s density, so on a 2x retina display this will return the URL for an image at 200x200 pixels.

- (NSURL *)mediumIconURL

Discussion

The campaign’s icon, at 100x100 points. [UIScreen mainScreen].density is used to determine the device’s density, so on a 2x retina display this will return the URL for an image at 200x200 pixels.

Declared In

LUCampaignRepresentationBasicV1.h

smallIconURL

The campaign’s icon, at 50x50 points. [UIScreen mainScreen].density is used to determine the device’s density, so on a 2x retina display this will return the URL for an image at 100x100 pixels.

- (NSURL *)smallIconURL

Discussion

The campaign’s icon, at 50x50 points. [UIScreen mainScreen].density is used to determine the device’s density, so on a 2x retina display this will return the URL for an image at 100x100 pixels.

Declared In

LUCampaignRepresentationBasicV1.h