PWAdsVideoBase Class Reference

Inherits from NSObject
Declared in PWAdsVideoBase.h

Overview

Base Class for loading and presenting rewarded/interstitial video advertisments.

  baseDelegate

The delegate that implements PWAdsVideoBaseDelegate protocol.

@property (nonatomic, weak) id<PWAdsVideoBaseDelegate> baseDelegate

Discussion

The delegate that implements PWAdsVideoBaseDelegate protocol.

Declared In

PWAdsVideoBase.h

  baseCurrentAdsRequest

The current video ad request object.

@property (nonatomic, readonly) PWAdsRequest *baseCurrentAdsRequest

Discussion

The current video ad request object.

Declared In

PWAdsVideoBase.h

– baseLoadAdsRequest:

Request video ads using PWAdsRequest instance.

- (void)baseLoadAdsRequest:(PWAdsRequest *)request

Parameters

request

The object with zone id, location and other ad information.

Discussion

Request video ads using PWAdsRequest instance.

Declared In

PWAdsVideoBase.h

– basePresentFromViewController:

Called to present full screen video ad advertisment.

- (void)basePresentFromViewController:(UIViewController *)controller

Parameters

controller

The view controller from which the ad should be displayed.

Discussion

Called to present full screen video ad advertisment.

This method should be called only after video ad advertisment is loaded.

Declared In

PWAdsVideoBase.h