FriendlyObstructionPurpose

enum FriendlyObstructionPurpose


A list of purposes for which an obstruction would be registered as friendly.

Summary

Enum Values

CLOSE_AD

Purpose for views that allow the user to close or dismiss an ad.

NOT_VISIBLE

Purpose for views that are not visible to the user, like transparent overlays.

OTHER

Purpose for other views that are necessary for the ad playback experience.

VIDEO_CONTROLS

Purpose for views that provide video player controls, like play and pause buttons.

Public functions

java-static FriendlyObstructionPurpose!
valueOf(name: String!)

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

java-static Array<FriendlyObstructionPurpose!>!

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

Enum Values

CLOSE_AD

val FriendlyObstructionPurpose.CLOSE_ADFriendlyObstructionPurpose

Purpose for views that allow the user to close or dismiss an ad.

NOT_VISIBLE

val FriendlyObstructionPurpose.NOT_VISIBLEFriendlyObstructionPurpose

Purpose for views that are not visible to the user, like transparent overlays.

OTHER

val FriendlyObstructionPurpose.OTHERFriendlyObstructionPurpose

Purpose for other views that are necessary for the ad playback experience.

VIDEO_CONTROLS

val FriendlyObstructionPurpose.VIDEO_CONTROLSFriendlyObstructionPurpose

Purpose for views that provide video player controls, like play and pause buttons.

Public functions

valueOf

java-static fun valueOf(name: String!): FriendlyObstructionPurpose!

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.)

Returns
FriendlyObstructionPurpose!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

java-static fun values(): Array<FriendlyObstructionPurpose!>!

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.

Returns
Array<FriendlyObstructionPurpose!>!

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