Class AdOverlayInfo.Builder

    • Constructor Detail

      • Builder

        public Builder​(View view,
                       @Purpose
                       @com.google.android.exoplayer2.ui.AdOverlayInfo.Purpose int purpose)
        Creates a new builder.
        Parameters:
        view - The view that is overlaying the player.
        purpose - The purpose of the view.
    • Method Detail

      • setDetailedReason

        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.