AdOverlayInfo.Builder


class AdOverlayInfo.Builder


A builder for AdOverlayInfo instances.

Summary

Public constructors

Builder(view: View!, @AdOverlayInfo.Purpose purpose: Int)

Creates a new builder.

Public functions

AdOverlayInfo!

Returns a new AdOverlayInfo instance with the current builder values.

AdOverlayInfo.Builder!

Sets an optional, detailed reason that the view is on top of the player.

Public constructors

Builder

Builder(view: View!, @AdOverlayInfo.Purpose purpose: Int)

Creates a new builder.

Parameters
view: View!

The view that is overlaying the player.

@AdOverlayInfo.Purpose purpose: Int

The purpose of the view.

Public functions

build

fun build(): AdOverlayInfo!

Returns a new AdOverlayInfo instance with the current builder values.

setDetailedReason

@CanIgnoreReturnValue
fun setDetailedReason(detailedReason: String?): AdOverlayInfo.Builder!

Sets an optional, detailed reason that the view is on top of the player.

Returns
AdOverlayInfo.Builder!

This builder, for convenience.