Enum AdType

com.yandex.mobile.ads

public enum AdType

Ad type.

Constructors

AdType(final String adType)

Methods

AdType getAdTypeByValue(final String value)

Returns the ad type by value.

String getTypeName()

Returns the name of the ad type.

Fields

BANNER

Banner ads.

INTERSTITIAL

Interstitial ads.

NATIVE

Native ads.

REWARDED

Rewarded ads.

VASTVIDEO

VAST ads.

Constructor Detail

AdType

public AdType (final String adType)

Method Detail

getAdTypeByValue

public static AdType getAdTypeByValue (final String value)

Returns the ad type by value.

Parameters:
value

Value of the ad type.

Returns:

Ad type.

getTypeName

public String getTypeName ()

Returns the name of the ad type.

Returns:

Name of the ad type.

Field Detail

BANNER

public BANNER =("banner")

Banner ads.

INTERSTITIAL

public INTERSTITIAL =("interstitial")

Interstitial ads.

NATIVE

public NATIVE =("native")

Native ads.

REWARDED

public REWARDED =("rewarded")

Rewarded ads.

VASTVIDEO

public VASTVIDEO =("vastvideo")

VAST ads.