Properties

class Properties

Custom properties.

See also

Constructors

Link copied to clipboard
fun Properties()

Functions

Link copied to clipboard
fun clear()

Removes all of the properties.

Link copied to clipboard
fun getString(name: String): String?

Gets String property of name or null if the property does not exist.

Link copied to clipboard
fun putString(name: String, value: String?): Properties

Maps name to value, replaces an existing value with the new one. Property name must be in range from 1 to 200 bytes and can only contain alphanumeric characters and “_”, " ", “.”, “-” and must start with an alphabetic character. Property value must be in range from 0 to 5 000 bytes.

Link copied to clipboard
fun remove(name: String)

Removes property of name if exists.