SchedulePolicy

Enum defining schedule policies for ad positions. Use ON_ALWAYS or OFF_ALWAYS if service wants to keep policy even when params are set from URL setAdvertiseParams

Entries

Link copied to clipboard

Always enabled and immutable

Link copied to clipboard

Always disabled and immutable

Link copied to clipboard

Enabled and mutable

Link copied to clipboard

Disabled and mutable

Properties

Link copied to clipboard
Whether the policy can be modified

Functions

Link copied to clipboard

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

Creates a SchedulePolicy from boolean values
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.