getPlaceholderImage

open fun getPlaceholderImage(@NonNull identifier: String, @NonNull containerDir: File, portrait: Boolean): Bitmap

Retrieves a placeholder image (e.g. a thumbnail) for an ad, if one exists in the package.

Return

The image if it exists in the ad's package.

Parameters

identifier

The ad's identifier.

containerDir

The ad's container directory.

portrait

true if the image should be a portrait variant, false if not.


open fun getPlaceholderImage(@NonNull slotAdFlight: SlotAdFlight, portrait: Boolean): Bitmap

Retrieves a placeholder image (e.g. a thumbnail) for a slot ad, if one exists in the package.

Return

The image if it exists in the ad's package.

Parameters

slotAdFlight

The slot ad flight in question.

portrait

true if the image should be a portrait variant, false if not.