RequestConfiguration.PublisherPrivacyPersonalizationState

public enum RequestConfiguration.PublisherPrivacyPersonalizationState


Publisher privacy treatment personalization states.

Summary

Enum Values

DEFAULT

Indicates that the ad request should receive the default publisher privacy treatment.

DISABLED

Indicates that the ad request should receive the non-personalized publisher privacy treatment.

ENABLED

Indicates that the ad request should receive the personalized publisher privacy treatment.

Public fields

final int

Public methods

int

Gets the enum's integer value .

static RequestConfiguration.PublisherPrivacyPersonalizationState

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

static RequestConfiguration.PublisherPrivacyPersonalizationState[]

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

Enum Values

DEFAULT

RequestConfiguration.PublisherPrivacyPersonalizationState RequestConfiguration.PublisherPrivacyPersonalizationState.DEFAULT

Indicates that the ad request should receive the default publisher privacy treatment.

DISABLED

RequestConfiguration.PublisherPrivacyPersonalizationState RequestConfiguration.PublisherPrivacyPersonalizationState.DISABLED

Indicates that the ad request should receive the non-personalized publisher privacy treatment.

ENABLED

RequestConfiguration.PublisherPrivacyPersonalizationState RequestConfiguration.PublisherPrivacyPersonalizationState.ENABLED

Indicates that the ad request should receive the personalized publisher privacy treatment.

Public fields

value

public final int value

Public methods

getValue

public int getValue()

Gets the enum's integer value .

valueOf

public static RequestConfiguration.PublisherPrivacyPersonalizationState 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
RequestConfiguration.PublisherPrivacyPersonalizationState

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static RequestConfiguration.PublisherPrivacyPersonalizationState[] 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
RequestConfiguration.PublisherPrivacyPersonalizationState[]

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