Inherits from NSObject
Conforms to ADVSInstreamInfoProtocol
Declared in ADVSInstreamInfoModel.h

Overview

ADVSInstreamInfoModel is a container to be stored instream advertisement information.

Properties

content

advertisement text to be consisted of 40~70 characters in double byte character (it’s not a fixed specification. see our information webpage to get the latest specification)

@property (nonatomic, readonly) NSString *content

Discussion

advertisement text to be consisted of 40~70 characters in double byte character (it’s not a fixed specification. see our information webpage to get the latest specification)

Declared In

ADVSInstreamInfoModel.h

displayedAdvertiser

advertiser name to be put in the tableView. it is used to show that this content is provided for PR.

@property (nonatomic, readonly) NSString *displayedAdvertiser

Discussion

advertiser name to be put in the tableView. it is used to show that this content is provided for PR.

Declared In

ADVSInstreamInfoModel.h

position

advertisement position to be put in the tableView. it is used by advertising performance analysis.

@property (nonatomic, readonly) NSNumber *position

Discussion

advertisement position to be put in the tableView. it is used by advertising performance analysis.

Declared In

ADVSInstreamInfoModel.h

title

advertisement title to be consisted of ~20 characters in double byte character (it’s not a fixed specification. see our information webpage to get the latest specification)

@property (nonatomic, readonly) NSString *title

Discussion

advertisement title to be consisted of ~20 characters in double byte character (it’s not a fixed specification. see our information webpage to get the latest specification)

Declared In

ADVSInstreamInfoModel.h

Instance Methods

loadIconImage:completion:

starts loading advertisement icon image for assigning a UIImage to the iconImageView, if you want to do so.

- (void)loadIconImage:(UIImageView *)iconImageView completion:(void ( ^ ) ( NSError *error ))completion

Parameters

iconImageView

UIImageView instance to be assigned the icon image

completion

callback block to inform an error. If the error is nil and loadImage:completion is also completed, invoke measureImp API.

Discussion

starts loading advertisement icon image for assigning a UIImage to the iconImageView, if you want to do so.

Declared In

ADVSInstreamInfoModel.h

loadImage:completion:

starts loading advertisement main image for assigning a UIImage to the imageView, if you want to do so.

- (void)loadImage:(UIImageView *)imageView completion:(void ( ^ ) ( NSError *error ))completion

Parameters

imageView

UIImageView instance to be assigned the main image

completion

callback block to inform an error. If the error is nil and loadIconImage:completion is also completed, invoke measureImp API.

Discussion

starts loading advertisement main image for assigning a UIImage to the imageView, if you want to do so.

Declared In

ADVSInstreamInfoModel.h