NativeAdOptions

class NativeAdOptions


Summary

Nested types

@IntDef(value = [0, 1, 2, 3])
annotation NativeAdOptions.AdChoicesPlacement

This annotation is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

This class is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions.Builder instead.

@IntDef(value = [0, 1, 2, 3, 4])
annotation NativeAdOptions.NativeMediaAspectRatio

This annotation is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

Constants

const Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

const Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

const Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

const Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

const Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

const Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

const Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

const Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

const Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

const Int

This property is deprecated.

const Int

This property is deprecated.

const Int

This property is deprecated.

Public properties

Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

Int

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

Boolean

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

Boolean

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

Boolean

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

VideoOptions?

This property is deprecated. Use com.google.android.gms.ads.nativead.NativeAdOptions instead.

Constants

ADCHOICES_BOTTOM_LEFT

const val ADCHOICES_BOTTOM_LEFT = 3: Int

ADCHOICES_BOTTOM_RIGHT

const val ADCHOICES_BOTTOM_RIGHT = 2: Int

ADCHOICES_TOP_LEFT

const val ADCHOICES_TOP_LEFT = 0: Int

ADCHOICES_TOP_RIGHT

const val ADCHOICES_TOP_RIGHT = 1: Int

NATIVE_MEDIA_ASPECT_RATIO_ANY

const val NATIVE_MEDIA_ASPECT_RATIO_ANY = 1: Int

Any media aspect ratio.

NATIVE_MEDIA_ASPECT_RATIO_LANDSCAPE

const val NATIVE_MEDIA_ASPECT_RATIO_LANDSCAPE = 2: Int

Landscape media aspect ratio.

NATIVE_MEDIA_ASPECT_RATIO_PORTRAIT

const val NATIVE_MEDIA_ASPECT_RATIO_PORTRAIT = 3: Int

Portrait media aspect ratio.

NATIVE_MEDIA_ASPECT_RATIO_SQUARE

const val NATIVE_MEDIA_ASPECT_RATIO_SQUARE = 4: Int

Square media aspect ratio. This is not a strict 1:1 aspect ratio.

NATIVE_MEDIA_ASPECT_RATIO_UNKNOWN

const val NATIVE_MEDIA_ASPECT_RATIO_UNKNOWN = 0: Int

Unknown media aspect ratio.

ORIENTATION_ANY

const val ORIENTATION_ANY = 0: Int

ORIENTATION_LANDSCAPE

const val ORIENTATION_LANDSCAPE = 2: Int

ORIENTATION_PORTRAIT

const val ORIENTATION_PORTRAIT = 1: Int

Public properties

adChoicesPlacement

val adChoicesPlacement: Int

imageOrientation

val imageOrientation: Int

mediaAspectRatio

val mediaAspectRatio: Int

shouldRequestMultipleImages

val shouldRequestMultipleImages: Boolean

shouldReturnUrls

val shouldReturnUrls: Boolean

useCustomMuteThisAd

val useCustomMuteThisAd: Boolean

videoOptions

val videoOptions: VideoOptions?