PictureInPictureAdPresentationScope

@ExperimentalApi
enum PictureInPictureAdPresentationScope : Enum


Defines the presentation scope for a picture-in-picture (PiP) ad.

Summary

Enum Values

APPLICATION

The PiP ad persists globally across the application.

SCREEN

The PiP ad is scoped to a single screen (Activity).

Public functions

PictureInPictureAdPresentationScope
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<PictureInPictureAdPresentationScope>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

EnumEntries<PictureInPictureAdPresentationScope>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Enum Values

APPLICATION

@ExperimentalApi
val PictureInPictureAdPresentationScope.APPLICATION: PictureInPictureAdPresentationScope

The PiP ad persists globally across the application.

SCREEN

@ExperimentalApi
val PictureInPictureAdPresentationScope.SCREEN: PictureInPictureAdPresentationScope

The PiP ad is scoped to a single screen (Activity).

Public functions

valueOf

fun valueOf(value: String): PictureInPictureAdPresentationScope

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<PictureInPictureAdPresentationScope>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

entries

val entries: EnumEntries<PictureInPictureAdPresentationScope>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.