Image

class Image


An ad image asset.

Summary

Public constructors

Image(drawable: Drawable?, uri: Uri, scale: Double)

Public properties

Drawable?

The drawable representing the image.

Double

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

Uri

The URI for this image.

Public constructors

Image

Image(drawable: Drawable?, uri: Uri, scale: Double)
Parameters
drawable: Drawable?

The drawable representing the image.

uri: Uri

The URI for this image.

scale: Double

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

Public properties

drawable

val drawableDrawable?

The drawable representing the image.

scale

val scaleDouble

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

uri

val uriUri

The URI for this image.