iOS Verizon Ads SDK Standard Edition Documentation  1.1
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

(nullable UIViewController *) - adPresentingViewController
 Called prior to presenting another view controller to use for displaying the fullscreen ad. 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...
 
(void) - inlineAdEvent:source:eventId:arguments:
 This callback is used to surface additional events to the publisher from the SDK. More...
 

Detailed Description

Protocol for receiving notifications from the VASInlineAdView.

These notifications will be called on an arbitrary queue.

Method Documentation

◆ adPresentingViewController()

- (nullable UIViewController *) adPresentingViewController

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

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.

◆ 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.

◆ inlineAdEvent:source:eventId:arguments:()

- (void) inlineAdEvent: (VASInlineAdView *)  inlineAd
source: (NSString *)  source
eventId: (NSString *)  eventId
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.
sourceThe identifier of the event source.
eventIdThe event identifier.
argumentsA dictionary of key/value pairs of arguments related to the event.