NativeAd.Image

abstract class NativeAd.Image


A native ad image asset.

Summary

Public constructors

Public functions

abstract Drawable?
open Int
abstract Double

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

abstract Uri?
open Int

Public constructors

Image

Image()

Public functions

getDrawable

abstract fun getDrawable(): Drawable?

getHeight

open fun getHeight(): Int

getScale

abstract fun getScale(): Double

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

getUri

abstract fun getUri(): Uri?

getWidth

open fun getWidth(): Int