//Granify Android SDK/com.granifyinc.granifysdk.models/RestrictionState
RestrictionState
[androidJvm]
enum RestrictionState : Enum<RestrictionState>
States governing when a campaign is allowed to be shown to a shopper.
Entries
RESTRICTED | [androidJvm] RESTRICTED Campaigns cannot be shown in this state. This state persists until it is explicitly changed. |
UNRESTRICTED | [androidJvm] UNRESTRICTED Campaigns can be shown in this state. This state persists until it is explicitly changed. |
Properties
Name | Summary |
---|---|
name | [androidJvm] val name: String |
ordinal | [androidJvm] val ordinal: Int |
Functions
Name | Summary |
---|---|
valueOf | [androidJvm] fun valueOf(value: String): RestrictionState 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.) |
values | [androidJvm] fun values(): Array<RestrictionState> Returns an array containing the constants of this enum type, in the order they’re declared. |