NativeMediaInfo

data class NativeMediaInfo(val aspectRatio: Float?, val hasVideoContent: Boolean, val durationSeconds: Double?)(source)

Information about a native ad's media asset (image or video).

Constructors

Link copied to clipboard
constructor(aspectRatio: Float?, hasVideoContent: Boolean, durationSeconds: Double?)

Properties

Link copied to clipboard

Aspect ratio (width/height) of the media, or null if unknown.

Link copied to clipboard

Duration in seconds for video content, or null for images.

Link copied to clipboard

True if the media contains video content.