Enum AdIntegrationKind
-
- All Implemented Interfaces:
public enum AdIntegrationKind
The integration kind of the Ad.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description THEO_ADS
The ad is of integration type THEO.
GOOGLE_IMA
The ad is of integration type Google IMA.
GOOGLE_DAI
The ad is of integration type Google DAI.
MEDIATAILOR
The ad is of integration type MediaTailor.
CUSTOM
The ad is a custom integration.
- See getCustomIntegration and getCustomIntegration for the name of the custom ad integration.
-
Method Summary
Modifier and Type Method Description static AdIntegrationKind
from(@Nullable() String type)
Converts a textual representation of the integration to an actual AdIntegrationKind instance. String
toString()
static Array<AdIntegrationKind>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static AdIntegrationKind
valueOf(String name)
Returns the enum constant of this type with the specified name. String
getType()
The kind of the integration. -
-
Method Detail
-
from
@Nullable() static AdIntegrationKind from(@Nullable() String type)
Converts a textual representation of the integration to an actual AdIntegrationKind instance.
- For possible values, see AdIntegrationKind.
- Parameters:
type
- The textual representation of the integration.- Returns:
The kind of integration of the Ad. (Nullable)
-
values
static Array<AdIntegrationKind> values()
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:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static AdIntegrationKind valueOf(String name)
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:
the enum constant with the specified name
-
-
-
-