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
Méthodes d’instance
rewardedVideoAd:didFailWithError:

Sent after an FBRewardedVideoAd fails to load the ad.

ParamètreDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

error

An error object containing details of the error.

- (void)
rewardedVideoAd: (FBRewardedVideoAd *)rewardedVideoAd
didFailWithError: (NSError *)error;
Déclaré dans : FBRewardedVideoAd.h
rewardedVideoAdComplete:

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

ParamètreDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdComplete:(FBRewardedVideoAd *)rewardedVideoAd;
Déclaré dans : FBRewardedVideoAd.h
rewardedVideoAdDidClick:

Sent after an ad has been clicked by the person.

ParamètreDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdDidClick:(FBRewardedVideoAd *)rewardedVideoAd;
Déclaré dans : FBRewardedVideoAd.h
rewardedVideoAdDidClose:

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

ParamètreDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdDidClose:(FBRewardedVideoAd *)rewardedVideoAd;
Déclaré dans : FBRewardedVideoAd.h
rewardedVideoAdDidLoad:

Sent when an ad has been successfully loaded.

ParamètreDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdDidLoad:(FBRewardedVideoAd *)rewardedVideoAd;
Déclaré dans : 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.

ParamètreDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdServerFailed:(FBRewardedVideoAd *)rewardedVideoAd;
Déclaré dans : FBRewardedVideoAd.h
rewardedVideoAdServerSuccess:

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

ParamètreDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdServerSuccess:(FBRewardedVideoAd *)rewardedVideoAd;
Déclaré dans : FBRewardedVideoAd.h
rewardedVideoAdWillClose:

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

ParamètreDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdWillClose:(FBRewardedVideoAd *)rewardedVideoAd;
Déclaré dans : FBRewardedVideoAd.h
rewardedVideoAdWillLogImpression:

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

ParamètreDescription
rewardedVideoAd

An FBRewardedVideoAd object sending the message.

- (void) rewardedVideoAdWillLogImpression:(FBRewardedVideoAd *)rewardedVideoAd;
Déclaré dans : FBRewardedVideoAd.h