setEnum

open fun setEnum(key: String, value: Int): Boolean

Looks up the enumerated type nick for @value and writes it to @key, within @settings.

It is a programmer error to give a @key that isn't contained in the schema for @settings or is not marked as an enumerated type, or for

Return

true, if the set succeeds

Parameters

key

a key, within @settings

value

an enumerated value