Source

abstract class Source

The Source class is responsible for managing the source.

Inheritors

Properties

Link copied to clipboard
val id: Int

Returns the unique identifier associated with the source.

Link copied to clipboard

Returns the name assigned to the source.

Link copied to clipboard
val type: Type

Returns the type of the source.

Functions

Link copied to clipboard
abstract fun release()

Releases resources associated with the source. Cleaning up resources when the source is no longer needed contributes to efficient resource management.

Link copied to clipboard
open override fun toString(): String

Returns the name of the source in the form of a string.