Package com.yandex.mobile.ads.nativeads
Interface NativeAdImage
-
public interface NativeAdImage
NativeAdImage represents image asset. Height and width is always available. Bitmap is unavailable until loaded.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description android.graphics.Bitmap
getBitmap()
Returns bitmap.int
getHeight()
Returns height of image in physical pixels.int
getWidth()
Returns width of image in physical pixels.
-
-
-
Method Detail
-
getBitmap
@Nullable android.graphics.Bitmap getBitmap()
Returns bitmap.- Returns:
- bitmap.
-
getHeight
int getHeight()
Returns height of image in physical pixels.- Returns:
- height in physical pixels.
-
getWidth
int getWidth()
Returns width of image in physical pixels.- Returns:
- width in physical pixels.
-
-