YMANativeImageAd Protocol Reference

Conforms to YMANativeGenericAd
Declared in YMANativeImageAd.h

Overview

Binds advertising data to an object of the YMANativeImageAdView class.

Note: This protocol is only used for working with ADFOX.

  1. Methods
    1. – bindImageAdToView:delegate:error:

Methods

– bindImageAdToView:delegate:error:

Binds advertising data to an object of the YMANativeImageAdView class.

- (BOOL)bindImageAdToView:(YMANativeImageAdView *)view
                 delegate:(nullable id<YMANativeAdDelegate>)delegate
                    error:(NSError **)error

Parameters

view

View with ad assets.

delegate

The object implements the YMANativeAdDelegate protocol that sends notifications of the user’s interaction with the ad.

error

Information about the error (for details, see YMANativeErrorCode).

Return Value

The result of binding ad data to an object of the YMANativeImageAdView class.


Generated by appledoc 2.2.1 (build 1334).