RequestConfiguration.PublisherPrivacyPersonalizationState

public enum RequestConfiguration.PublisherPrivacyPersonalizationState extends Enum


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 methods

final @NonNull EnumEntries<@NonNull RequestConfiguration.PublisherPrivacyPersonalizationState>

Publisher privacy treatment personalization states.

final int
final @NonNull RequestConfiguration.PublisherPrivacyPersonalizationState

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

final @NonNull 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 methods

getEntries

public final @NonNull EnumEntries<@NonNull RequestConfiguration.PublisherPrivacyPersonalizationStategetEntries()

Publisher privacy treatment personalization states.

getValue

public final int getValue()

valueOf

public final @NonNull RequestConfiguration.PublisherPrivacyPersonalizationState valueOf(@NonNull String value)

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

public final @NonNull 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.