Visibility

Represents visibility level (also known as access level) of the corresponding declaration. Some of these visibilities may be non-denotable in Kotlin.

Entries

Link copied to clipboard

Signifies that the corresponding declaration is internal.

Link copied to clipboard

Signifies that the corresponding declaration is private.

Link copied to clipboard

Signifies that the corresponding declaration is protected.

Link copied to clipboard

Signifies that the corresponding declaration is public.

Link copied to clipboard

Signifies that the corresponding declaration is "private-to-this", which is a non-denotable visibility of private members in Kotlin which are callable only on the same instance of the declaring class. Generally, this visibility is more restrictive than 'private', so for most use cases it can be treated the same.

Link copied to clipboard

Signifies that the corresponding declaration is local, i.e., declared inside a code block, and not visible from the outside.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.