FBRewardedVideoAdDelegate

The methods declared by the FBRewardedVideoAdDelegate protocol allow the adopting delegate to respond to messages from the FBRewardedVideoAd class and thus respond to operations such as whether the ad has been loaded, the person has clicked the ad or closed video/end card.

Extends Protocol:NSObject
Declared in:FBRewardedVideoAd.h
实例方法
rewardedVideoAd:didFailWithError:

Sent after an FBRewardedVideoAd fails to load the ad.

参数描述
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

error

An error object containing details of the error.

- (void)
rewardedVideoAd: (FBRewardedVideoAd *)rewardedVideoAd
didFailWithError: (NSError *)error;
声明语言: FBRewardedVideoAd.h
rewardedVideoAdComplete:

Sent after the FBRewardedVideoAd object has finished playing the video successfully. Reward the user on this callback.

参数描述
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdComplete:(FBRewardedVideoAd *)rewardedVideoAd;
声明语言: FBRewardedVideoAd.h
rewardedVideoAdDidClick:

Sent after an ad has been clicked by the person.

参数描述
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdDidClick:(FBRewardedVideoAd *)rewardedVideoAd;
声明语言: FBRewardedVideoAd.h
rewardedVideoAdDidClose:

Sent after an FBRewardedVideoAd object has been dismissed from the screen, returning control to your application.

参数描述
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdDidClose:(FBRewardedVideoAd *)rewardedVideoAd;
声明语言: FBRewardedVideoAd.h
rewardedVideoAdDidLoad:

Sent when an ad has been successfully loaded.

参数描述
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdDidLoad:(FBRewardedVideoAd *)rewardedVideoAd;
声明语言: FBRewardedVideoAd.h
rewardedVideoAdServerFailed:

Sent if server call to publisher's reward endpoint did not return HTTP status code 200 or if the endpoint timed out.

参数描述
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdServerFailed:(FBRewardedVideoAd *)rewardedVideoAd;
声明语言: FBRewardedVideoAd.h
rewardedVideoAdServerSuccess:

Sent if server call to publisher's reward endpoint returned HTTP status code 200.

参数描述
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdServerSuccess:(FBRewardedVideoAd *)rewardedVideoAd;
声明语言: FBRewardedVideoAd.h
rewardedVideoAdWillClose:

Sent immediately before an FBRewardedVideoAd object will be dismissed from the screen.

参数描述
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdWillClose:(FBRewardedVideoAd *)rewardedVideoAd;
声明语言: FBRewardedVideoAd.h
rewardedVideoAdWillLogImpression:

Sent immediately before the impression of an FBRewardedVideoAd object will be logged.

参数描述
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdWillLogImpression:(FBRewardedVideoAd *)rewardedVideoAd;
声明语言: FBRewardedVideoAd.h