Companion

actual object Companion
expect object Companion
actual object Companion

Properties

Link copied to clipboard
actual val AUTO_HEIGHT: Int
expect val AUTO_HEIGHT: Int
actual val AUTO_HEIGHT: Int
Link copied to clipboard
actual val BANNER: AdSize
expect val BANNER: AdSize
actual val BANNER: AdSize
Link copied to clipboard
actual val FLUID: AdSize
expect val FLUID: AdSize
actual val FLUID: AdSize
Link copied to clipboard
actual val FULL_BANNER: AdSize
expect val FULL_BANNER: AdSize
actual val FULL_BANNER: AdSize
Link copied to clipboard
actual val FULL_WIDTH: Int
expect val FULL_WIDTH: Int
actual val FULL_WIDTH: Int
Link copied to clipboard
actual val INVALID: AdSize
expect val INVALID: AdSize
actual val INVALID: AdSize
Link copied to clipboard
actual val LARGE_BANNER: AdSize
expect val LARGE_BANNER: AdSize
actual val LARGE_BANNER: AdSize
Link copied to clipboard
actual val LEADERBOARD: AdSize
expect val LEADERBOARD: AdSize
actual val LEADERBOARD: AdSize
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
actual fun autoSelect(androidAdSize: AdSize, iosAdSize: AdSize): AdSize
expect fun autoSelect(androidAdSize: AdSize, iosAdSize: AdSize): AdSize

Provides the appropriate AdSize based on the platform

actual fun autoSelect(androidAdSize: AdSize, iosAdSize: AdSize): AdSize

Gets an anchored adaptive banner ad size for the current orientation.

Gets an inline adaptive banner ad size for the current orientation.

Link copied to clipboard

Gets an anchored adaptive banner ad size for landscape orientation.

Link copied to clipboard
actual fun getLandscapeInlineAdaptiveBannerAdSize(context: Any?, width: Int): AdSize
expect fun getLandscapeInlineAdaptiveBannerAdSize(context: Any?, width: Int): AdSize

Gets an inline adaptive banner ad size for landscape orientation.

actual fun getLandscapeInlineAdaptiveBannerAdSize(context: Any?, width: Int): AdSize
Link copied to clipboard
actual fun getPortraitAnchoredAdaptiveBannerAdSize(context: Any?, width: Int): AdSize
expect fun getPortraitAnchoredAdaptiveBannerAdSize(context: Any?, width: Int): AdSize

Gets an anchored adaptive banner ad size for portrait orientation.

actual fun getPortraitAnchoredAdaptiveBannerAdSize(context: Any?, width: Int): AdSize
Link copied to clipboard
actual fun getPortraitInlineAdaptiveBannerAdSize(context: Any?, width: Int): AdSize
expect fun getPortraitInlineAdaptiveBannerAdSize(context: Any?, width: Int): AdSize

Gets an inline adaptive banner ad size for portrait orientation.

actual fun getPortraitInlineAdaptiveBannerAdSize(context: Any?, width: Int): AdSize