Package com.yandex.mobile.ads.nativeads
Interface NativeAdImage
-
public interface NativeAdImageNativeAdImage 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.BitmapgetBitmap()Returns bitmap.intgetHeight()Returns height of image in physical pixels.intgetWidth()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.
-
-