<FWCreativeRendition > Protocol Reference

Protocol for creative rendition. More...

#import <FWProtocols.h>

+ Inheritance diagram for <FWCreativeRendition >:

Instance Methods

(NSString *) - contentType
 Get content type of the rendition. More...
 
(void) - setContentType:
 Set content type of the rendition. More...
 
(NSString *) - wrapperType
 Get wrapper type of the rendition. More...
 
(void) - setWrapperType:
 Set wrapper type of the rendition. More...
 
(NSString *) - wrapperUrl
 Get wrapper url of the rendition. More...
 
(void) - setWrapperUrl:
 Set wrapper url of the rendition. More...
 
(NSString *) - creativeAPI
 Get creativeAPI of the rendition. More...
 
(void) - setCreativeAPI:
 Set creativeAPI of the rendition. More...
 
(NSString *) - baseUnit
 Get base unit of the rendition. More...
 
(int) - preference
 Get preference of the rendition. More...
 
(void) - setPreference:
 Set preference of the rendition. More...
 
(NSUInteger) - width
 Get width of the rendition. More...
 
(void) - setWidth:
 Set width of the rendition. More...
 
(NSUInteger) - height
 Get height of the rendition. More...
 
(void) - setHeight:
 Set height of the rendition. More...
 
(NSTimeInterval) - duration
 Get duration of the rendition. More...
 
(void) - setDuration:
 Set duration of the rendition. More...
 
(void) - setParameter::
 
(void) - setParameter:withValue:
 Set parameter on the rendition. More...
 
(id< FWCreativeRenditionAsset >) - primaryCreativeRenditionAsset
 Get primary asset of the rendition. More...
 
(NSArray */*< id >FWCreativeRenditionAsset */) - otherCreativeRenditionAssets
 Get all non-primary assets of the rendition. More...
 
(id< FWCreativeRenditionAsset >) - addCreativeRenditionAsset
 Add an asset to the rendition. More...
 

Detailed Description

Protocol for creative rendition.

Method Documentation

- (id<FWCreativeRenditionAsset> FWCreativeRendition) addCreativeRenditionAsset

Add an asset to the rendition.

- (NSString * FWCreativeRendition) baseUnit

Get base unit of the rendition.

Returns
Base unit in a string
- (NSString * FWCreativeRendition) contentType

Get content type of the rendition.

Returns
Content type in a string
- (NSString * FWCreativeRendition) creativeAPI

Get creativeAPI of the rendition.

Returns
creativeAPI in a string
- (NSTimeInterval FWCreativeRendition) duration

Get duration of the rendition.

Returns
Duration in seconds
- (NSUInteger FWCreativeRendition) height

Get height of the rendition.

Returns
Height in pixels
- (NSArray * /* <id>FWCreativeRenditionAsset */ FWCreativeRendition) otherCreativeRenditionAssets

Get all non-primary assets of the rendition.

Returns
An array of id<FWCreativeRenditionAsset>
- (int FWCreativeRendition) preference

Get preference of the rendition.

Returns
A number, the higher is preferred among all renditions in the creative
- (id<FWCreativeRenditionAsset> FWCreativeRendition) primaryCreativeRenditionAsset

Get primary asset of the rendition.

Returns
An id<FWCreativeRenditionAsset>
- (void FWCreativeRendition) setContentType: (NSString *)  value

Set content type of the rendition.

- (void FWCreativeRendition) setCreativeAPI: (NSString *)  value

Set creativeAPI of the rendition.

- (void FWCreativeRendition) setDuration: (NSTimeInterval)  value

Set duration of the rendition.

Returns
Duration in seconds
- (void FWCreativeRendition) setHeight: (NSUInteger)  value

Set height of the rendition.

- (void FWCreativeRendition) setParameter: (NSString *)  name
: (NSString *)  DEPRECATED_ATTRIBUTE 
- (void FWCreativeRendition) setParameter: (NSString *)  name
withValue: (NSString *)  value 

Set parameter on the rendition.

- (void FWCreativeRendition) setPreference: (int)  value

Set preference of the rendition.

- (void FWCreativeRendition) setWidth: (NSUInteger)  value

Set width of the rendition.

- (void FWCreativeRendition) setWrapperType: (NSString *)  value

Set wrapper type of the rendition.

- (void FWCreativeRendition) setWrapperUrl: (NSString *)  value

Set wrapper url of the rendition.

- (NSUInteger FWCreativeRendition) width

Get width of the rendition.

Returns
Width in pixels
- (NSString * FWCreativeRendition) wrapperType

Get wrapper type of the rendition.

Returns
Wrapper type in a string
- (NSString * FWCreativeRendition) wrapperUrl

Get wrapper url of the rendition.

Returns
Wrapper url in a string

The documentation for this protocol was generated from the following file: