LinearAdType

Enumeration defining the position of video ads (LinearAd) in content. Represents different placement positions for video advertisements: - pre: before content starts - mid: in the middle of content - post: at the end of content - standalone: without content

Entries

Link copied to clipboard

Video ad shown before the main content starts

Link copied to clipboard

Video ad shown in the middle of the main content

Link copied to clipboard

Video ad shown after the main content ends

Link copied to clipboard

Video ad shown independently without main content

Link copied to clipboard

Unknown or undefined video ad position

Properties

Link copied to clipboard
Position code for the ad break
Link copied to clipboard
Type of placement for the ad
Link copied to clipboard
String value representing the ad type

Functions

Link copied to clipboard
Parses a LinearAdType from a string value
Link copied to clipboard
open fun valueOf(name: String): LinearAdType

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

Link copied to clipboard

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.