iOS Verizon Ads SDK Standard Edition Documentation  1.6
Instance Methods | List of all members
<VASInlineAdViewDelegate> Protocol Reference

Protocol for receiving notifications from the VASInlineAdView. More...

#import <VASInlineAdView.h>

Inherits <NSObject-p>.

Instance Methods

(void) - inlineAd:event:source:arguments:
 This callback is used to surface additional events to the publisher from the SDK. More...
 
(void) - inlineAdClicked:
 Called when the VASInlineAdView has been clicked. More...
 
(void) - inlineAdDidCollapse:
 Called when The VASInlineAdView has been closed. More...
 
(void) - inlineAdDidExpand:
 Called when the VASInlineAdView has been shown. More...
 
(void) - inlineAdDidFail:withError:
 Called when an error occurs during the VASInlineAdView lifecycle. More...
 
(void) - inlineAdDidLeaveApplication:
 Called when the VASInlineAdView causes the user to leave the application. More...
 
(void) - inlineAdDidRefresh:
 Called after the VASInlineAdView has been refreshed. More...
 
(void) - inlineAdDidResize:
 Called after the VASInlineAdView completed resizing. More...
 
(nullable UIViewController *) - inlineAdPresentingViewController
 Called prior to presenting another view controller to use for displaying the fullscreen ad. More...
 

Detailed Description

Protocol for receiving notifications from the VASInlineAdView.

Unless otherwise specified, all methods will be called on an arbitrary background queue.

Method Documentation

◆ inlineAd:event:source:arguments:()

- (void) inlineAd: (VASInlineAdView *)  inlineAd
event: (NSString *)  eventId
source: (NSString *)  source
arguments: (NSDictionary< NSString *, id > *)  arguments 

This callback is used to surface additional events to the publisher from the SDK.

Parameters
inlineAdThe VASInlineAdView that is relaying the event.
eventIdThe event identifier.
sourceThe identifier of the event source.
argumentsA dictionary of key/value pairs of arguments related to the event.

◆ inlineAdClicked:()

- (void) inlineAdClicked: (VASInlineAdView *)  inlineAd

Called when the VASInlineAdView has been clicked.

Parameters
inlineAdThe VASInlineAdView that was clicked.

◆ inlineAdDidCollapse:()

- (void) inlineAdDidCollapse: (VASInlineAdView *)  inlineAd

Called when The VASInlineAdView has been closed.

Parameters
inlineAdThe VASInlineAdView that was closed.

◆ inlineAdDidExpand:()

- (void) inlineAdDidExpand: (VASInlineAdView *)  inlineAd

Called when the VASInlineAdView has been shown.

Parameters
inlineAdThe VASInlineAdView that was shown.

◆ inlineAdDidFail:withError:()

- (void) inlineAdDidFail: (VASInlineAdView *)  inlineAd
withError: (VASErrorInfo *)  errorInfo 

Called when an error occurs during the VASInlineAdView lifecycle.

An VASErrorInfo object provides detail about the error.

Parameters
inlineAdThe VASInlineAdView that experienced the error.
errorInfoThe VASErrorInfo that describes the error that occured.

◆ inlineAdDidLeaveApplication:()

- (void) inlineAdDidLeaveApplication: (VASInlineAdView *)  inlineAd

Called when the VASInlineAdView causes the user to leave the application.

For example, tapping a VASInlineAdView may launch an external browser.

Parameters
inlineAdThe VASInlineAdView that caused the application exit.

◆ inlineAdDidRefresh:()

- (void) inlineAdDidRefresh: (VASInlineAdView *)  inlineAd

Called after the VASInlineAdView has been refreshed.

Parameters
inlineAdThe VASInlineAdView that was refreshed.

◆ inlineAdDidResize:()

- (void) inlineAdDidResize: (VASInlineAdView *)  inlineAd

Called after the VASInlineAdView completed resizing.

Parameters
inlineAdThe VASInlineAdView that caused the application exit.

◆ inlineAdPresentingViewController()

- (nullable UIViewController *) inlineAdPresentingViewController

Called prior to presenting another view controller to use for displaying the fullscreen ad.

Note that this method is called on the main queue.

Returns
a UIViewController capable of presenting another view controller to use for displaying the fullscreen ad. Returning nil will result in no fullscreen ad being displayed and an error returned to the ad.