BannerAdSize

The size of a banner ad.

Types

Link copied to clipboard
object a

Properties

Link copied to clipboard
val height: Int

Returns the height of this BannerAdSize in density-independent pixels (dp).

Link copied to clipboard
val width: Int

Returns the width of this BannerAdSize in density-independent pixels (dp).

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun getHeight(context: Context): Int

Returns the actual height of this BannerAdSize in density-independent pixels (dp). AdSize created with FULL_HEIGHT will return height of the screen.

Link copied to clipboard

Returns the actual height of this BannerAdSize in physical pixels. AdSize created with FULL_HEIGHT will return height of the screen.

Link copied to clipboard
open fun getPrivateSizeInfo(): <Error class: unknown class>
Link copied to clipboard
fun getWidth(context: Context): Int

Returns the actual width of this BannerAdSize in density-independent pixels (dp). AdSize created with FULL_WIDTH will return width of the screen.

Link copied to clipboard

Returns the actual width of this BannerAdSize in physical pixels. AdSize created with FULL_WIDTH will return width of the screen.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String