Class NativeAdImage

com.yandex.mobile.ads.nativeads

public class NativeAdImage

A class that contains information about the image.

Images are only available after loading. This information is relevant when using manual loading.

Methods

boolean equals(final Object o)
android.graphics.Bitmap getBitmap()

Returns the image bitmap.

int getHeight()

Returns the image height in pixels.

int getWidth()

Returns the image width in pixels.

int hashCode()

Method Detail

equals

public boolean equals (final Object o)

getBitmap

public android.graphics.Bitmap getBitmap ()

Returns the image bitmap.

Returns:

The image bitmap.

getHeight

public int getHeight ()

Returns the image height in pixels.

Returns:

The height of the image in pixels.

getWidth

public int getWidth ()

Returns the image width in pixels.

Returns:

The width of the image in pixels.

hashCode

public int hashCode ()