Package com.google.android.exoplayer2.ui
Class AdOverlayInfo.Builder
- java.lang.Object
-
- com.google.android.exoplayer2.ui.AdOverlayInfo.Builder
-
- Enclosing class:
- AdOverlayInfo
public static final class AdOverlayInfo.Builder extends Object
A builder forAdOverlayInfo
instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdOverlayInfo
build()
Returns a newAdOverlayInfo
instance with the current builder values.AdOverlayInfo.Builder
setDetailedReason(String detailedReason)
Sets an optional, detailed reason that the view is on top of the player.
-
-
-
Method Detail
-
setDetailedReason
@CanIgnoreReturnValue public AdOverlayInfo.Builder setDetailedReason(@Nullable String detailedReason)
Sets an optional, detailed reason that the view is on top of the player.- Returns:
- This builder, for convenience.
-
build
public AdOverlayInfo build()
Returns a newAdOverlayInfo
instance with the current builder values.
-
-