YMANativeContentAd Protocol Reference

Conforms to YMANativeGenericAd
Declared in YMANativeContentAd.h

Overview

Binds ad data with an object of the YMANativeContentAdView class.

  1. Methods
    1. – bindContentAdToView:delegate:error:

Methods

– bindContentAdToView:delegate:error:

Binds ad data with an object of the YMANativeContentAdView class.

- (BOOL)bindContentAdToView:(YMANativeContentAdView *)view
                   delegate:(nullable id<YMANativeAdDelegate>)delegate
                      error:(NSError **)error

Parameters

view

View with ad assets (YMANativeContentAdView).

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 with an object of the YMANativeContentAdView class.


Generated by appledoc 2.2.1 (build 1334).