POBFullscreenAdRendering Protocol Reference

Conforms to NSObject
Declared in POBAdRendering.h

Overview

Fullscreen ad rendering protocol, implement these methods to write respective ad renderer.

– setDelegate: required method

Sets the delegate to receive fullscreen ad renderer events.

- (void)setDelegate:(id<POBFullscreenAdRendererDelegate>)delegate

Parameters

delegate

An object conforming to the POBFullscreenAdRendererDelegate protocol.

Discussion

Sets the delegate to receive fullscreen ad renderer events.

Declared In

POBAdRendering.h

– renderAdDescriptor: required method

Begins rendering the provided ad descriptor.

- (void)renderAdDescriptor:(id<POBAdDescriptor>)descriptor

Parameters

descriptor

The ad descriptor containing ad data and metadata to be rendered.

Discussion

Begins rendering the provided ad descriptor.

Declared In

POBAdRendering.h

– showFromViewController:inOrientation: required method

Presents the fullscreen ad from the specified view controller in the given orientation.

- (void)showFromViewController:(UIViewController *)controller inOrientation:(UIInterfaceOrientation)loadTimeOrientation

Parameters

controller

The view controller from which to present the ad.

loadTimeOrientation

The orientation in which the ad was loaded and should be presented.

Discussion

Presents the fullscreen ad from the specified view controller in the given orientation.

Declared In

POBAdRendering.h

– setWatermarkData: required method

Sets the watermark NSData for the ad to be rendered on top of the ad.

- (void)setWatermarkData:(NSData *)watermarkData

Parameters

watermarkData

Base 64 encoded watermark data.

Discussion

Sets the watermark NSData for the ad to be rendered on top of the ad.

Declared In

POBAdRendering.h