AdOverlayInfo
class AdOverlayInfo
Provides information about an overlay view shown on top of an ad view group.
Summary
Nested types |
|---|
class AdOverlayInfo.BuilderA builder for |
@DocumentedThe purpose of the overlay. |
Constants |
|
|---|---|
const Int |
PURPOSE_CLOSE_AD = 2Purpose for ad close buttons overlaying the player. |
const Int |
PURPOSE_CONTROLS = 1Purpose for playback controls overlaying the player. |
const Int |
Purpose for overlays that are not visible. |
const Int |
PURPOSE_OTHER = 3Purpose for other overlays. |
Public constructors |
|---|
@UnstableApiThis function is deprecated. Use |
@UnstableApiThis function is deprecated. Use |
Public properties |
|
|---|---|
Int |
The purpose of the overlay view. |
String? |
An optional, detailed reason that the overlay view is needed. |
View! |
The overlay view. |
Constants
PURPOSE_CLOSE_AD
const val PURPOSE_CLOSE_AD = 2: Int
Purpose for ad close buttons overlaying the player.
PURPOSE_CONTROLS
const val PURPOSE_CONTROLS = 1: Int
Purpose for playback controls overlaying the player.
PURPOSE_NOT_VISIBLE
const val PURPOSE_NOT_VISIBLE = 4: Int
Purpose for overlays that are not visible.
Public constructors
AdOverlayInfo
@UnstableApiAdOverlayInfo(
view: View!,
@AdOverlayInfo.Purpose purpose: Int,
detailedReason: String?
)
Public properties
reasonDetail
val reasonDetail: String?
An optional, detailed reason that the overlay view is needed.