NativeAd.Image

public static abstract class NativeAd.Image extends Object

A native ad image asset.

Public Constructor Summary

Public Method Summary

abstract Drawable
getDrawable()
Returns the drawable representing the image.
abstract double
getScale()
Returns the scale for this image, which denotes the ratio of pixels to dp.
abstract Uri
getUri()
Returns the URI for this image.

Inherited Method Summary

Public Constructors

public Image ()

Public Methods

public abstract Drawable getDrawable ()

Returns the drawable representing the image.

public abstract double getScale ()

Returns the scale for this image, which denotes the ratio of pixels to dp.

public abstract Uri getUri ()

Returns the URI for this image.