Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Kotlin API

API glossary

On this page

Kinds, modifiers and package labels in the Kotlin API reference. Select an annotation or full API badge to open its definition here.

The signature and entry documentation describe the API’s behavior, including its calling conventions, storage and runtime checks.

Symbol kinds

Kinds identify declarations in the Kotlin API reference.

module

A Kotlin object or companion object that groups declarations under one instance.

The module badge describes this declaration scope, not a separately installed Gradle module.

References: Kotlin object declarations .

class

A Kotlin class declaring constructors, properties and member functions.

Classes are final unless the declaration permits inheritance. Data classes add generated operations described by their declaration.

References: Kotlin classes .

function

A Kotlin function declared with fun at top level or inside another scope.

Extension functions are resolved from their declared receiver and scope; they do not add members to the receiver class.

References: Kotlin functions .

method

A Kotlin member function called on its receiver.

Read the signature for receiver, parameters, result and any suspend requirement.

References: Kotlin member functions .

property

A Kotlin val or var accessed through a getter and, for var, a setter.

Accessors may execute code. A val has no setter but may return a mutable object.

References: Kotlin properties .

Modifiers

Modifiers add information about calling, implementing, or accessing a declaration. Their precise effect follows the language and the signature.

async

A Kotlin suspend function that can suspend inside a coroutine.

Calling a suspending function does not itself launch a coroutine or guarantee execution on another thread.

References: Kotlin suspending functions .

overload

Kotlin functions sharing a name with distinct accepted signatures.

Argument types, receivers and available overloads determine which declaration a call resolves to.

References: Kotlin functions .

Package context

Package labels identify where an API is supplied.

package

The library dependency supplying this Kotlin API.

A Kotlin package organizes declarations; its name need not equal the Gradle artifact name.

References: Kotlin packages and imports .

Glossary JSON

Esc
Search in

Type to search.

Reference previewOpen reference