PWAdsRewardedVideo Class Reference

Inherits from PWAdsVideoBase : NSObject
Declared in PWAdsRewardedVideo.h

Overview

Class for loading and presenting rewarded video advertisments.

  delegate

The delegate that implements PWAdsRewardedVideoDelegate protocol.

@property (nonatomic, weak) id<PWAdsRewardedVideoDelegate> delegate

Discussion

The delegate that implements PWAdsRewardedVideoDelegate protocol.

Declared In

PWAdsRewardedVideo.h

  currentAdsRequest

The current ad request object.

@property (nonatomic, readonly) PWAdsRequest *currentAdsRequest

Discussion

The current ad request object.

Declared In

PWAdsRewardedVideo.h

  remainingViews

The current ad remaining views for user.

@property (nonatomic, readonly) int remainingViews

Discussion

The current ad remaining views for user.

Declared In

PWAdsRewardedVideo.h

– loadAdsRequest:

Request Rewarded Video ad using PWAdsRequest instance and start pre-caching the video.

- (void)loadAdsRequest:(PWAdsRequest *)request

Parameters

request

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

Discussion

Request Rewarded Video ad using PWAdsRequest instance and start pre-caching the video.

Declared In

PWAdsRewardedVideo.h

– presentFromViewController:

Called to present full screen video advertisment.

- (void)presentFromViewController:(UIViewController *)contoller

Parameters

contoller

The view controller from which the ad should be displayed.

Discussion

Called to present full screen video advertisment.

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

Declared In

PWAdsRewardedVideo.h