目录

NativeAdLoader

Class Info

public class NativeAdLoader extends Object

Ad loader.

Nested Class Summary

Qualifier and Type

Class Name and Description

static class

NativeAdLoader.Builder

Ad loader builder.

Public Method Summary

Qualifier and Type

Method Name and Description

boolean

isLoading()

Checks whether an ad is being loaded.

void

loadAd(AdParam adParam)

Requests a native ad.

void

loadAds(AdParam adParam, int maxAdsNum)

Requests native ads.

Public Methods

[h2]isLoading

Method

public boolean isLoading()

Checks whether an ad is being loaded.

Returns

Type

Description

boolean

Whether an ad is being loaded.

  • true: yes
  • false: no

[h2]loadAd

Method

public void loadAd(AdParam adParam)

Requests a native ad.

Parameters

Name

Description

adParam

Ad request.

[h2]loadAds

Method

public void loadAds(AdParam adParam, int maxAdsNum)

Requests native ads.

Parameters

Name

Description

adParam

Ad request.

maxAdsNum

Maximum number of ads to be returned.