set

operator fun set(keyword: String, value: String): Boolean

Sets the specified value for the keyword. In the event that the keyword already exists, it will overwrite the value if valid. The value is limited to 256 characters.

Return

true if the keyword was set successfully. Otherwise, false if the keyword or value exceed the maximum allowable characters.

Parameters

keyword

The keyword entry to use.

value

The value associated with the keyword.