Class AdOverlayInfo


  • @Deprecated
    public final class AdOverlayInfo
    extends Object
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Provides information about an overlay view shown on top of an ad view group.
    • Field Detail

      • PURPOSE_CONTROLS

        public static final int PURPOSE_CONTROLS
        Deprecated.
        Purpose for playback controls overlaying the player.
        See Also:
        Constant Field Values
      • PURPOSE_CLOSE_AD

        public static final int PURPOSE_CLOSE_AD
        Deprecated.
        Purpose for ad close buttons overlaying the player.
        See Also:
        Constant Field Values
      • PURPOSE_OTHER

        public static final int PURPOSE_OTHER
        Deprecated.
        Purpose for other overlays.
        See Also:
        Constant Field Values
      • PURPOSE_NOT_VISIBLE

        public static final int PURPOSE_NOT_VISIBLE
        Deprecated.
        Purpose for overlays that are not visible.
        See Also:
        Constant Field Values
      • view

        public final View view
        Deprecated.
        The overlay view.
      • purpose

        @Purpose
        public final @com.google.android.exoplayer2.ui.AdOverlayInfo.Purpose int purpose
        Deprecated.
        The purpose of the overlay view.
      • reasonDetail

        @Nullable
        public final String reasonDetail
        Deprecated.
        An optional, detailed reason that the overlay view is needed.