Republic Project MRAID SDK  1.0
 All Classes Functions Properties
<RPAdViewControllerDelegate> Protocol Referenceabstract

#import <RPAdViewController.h>

Inheritance diagram for <RPAdViewControllerDelegate>:

Instance Methods

(void) - adViewController:didLoadAdWithSize:
 
(void) - adViewController:didLoadAdWithError:
 
(void) - adViewControllerDidOpenModal:
 
(void) - adViewControllerDidClose:
 

Detailed Description

Protocol to represent the delegate methods of the advertisment view controller

Method Documentation

- (void) adViewController: (RPAdViewController *)  adViewController
didLoadAdWithError: (NSError *)  error 

Indicates that an error occurred while loading the ad

- (void) adViewController: (RPAdViewController *)  adViewController
didLoadAdWithSize: (CGSize)  adSize 

Indicates the end of the load

Parameters
adViewControllerView controller that finish the load
adSizewidth and length of the frame loaded
- (void) adViewControllerDidOpenModal: (RPAdViewController *)  adViewController

Indicates the view controller opened modally

Parameters
adViewControllerView controller that open modally