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