public final class NativeAdImage
extends java.lang.Object
NativeAdImage represents image asset. Height and width is always available. Bitmap is unavailable until loaded.

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and Description
booleanequals(java.lang.Object o) 
android.graphics.BitmapgetBitmap()
Returns bitmap.
intgetHeight()
Returns height of image in physical pixels.
java.lang.StringgetSizeType() 
intgetWidth()
Returns width of image in physical pixels.
inthashCode() 

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, toString, wait, wait, wait

Method Detail

getSizeType

@Nullable
public java.lang.String getSizeType()

getBitmap

@Nullable
public android.graphics.Bitmap getBitmap()
Returns bitmap.
Returns:
bitmap.

getHeight

public int getHeight()
Returns height of image in physical pixels.
Returns:
height in physical pixels.

getWidth

public int getWidth()
Returns width of image in physical pixels.
Returns:
width in physical pixels.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object