PreloadConfiguration

public class PreloadConfiguration


The configuration entry to instruct GMA SDK to preload ads.

Summary

Nested types

Builder class for PreloadConfiguration.

Public fields

final @Nullable AdFormat

This field is deprecated.

Use the format specific preloader class instead.

final AdRequest
final String
final int

Public methods

AdFormat

This method is deprecated.

Use the format specific preloader class instead.

AdRequest

Retrieves the ad request used to preload ads.

String

Returns the ad unit ID used to preload ads.

int

Gets the preload buffer size.

Public fields

adFormat

public final @Nullable AdFormat adFormat

The ad format of the ad to preload.

adRequest

public final AdRequest adRequest

adUnitId

public final String adUnitId

bufferSize

public final int bufferSize

Public methods

getAdFormat

public AdFormat getAdFormat()

Retrieves the ad format used to preload ads.

getAdRequest

public AdRequest getAdRequest()

Retrieves the ad request used to preload ads.

getAdUnitId

public String getAdUnitId()

Returns the ad unit ID used to preload ads.

getBufferSize

public int getBufferSize()

Gets the preload buffer size.