BaseServerSourceLineManager

Base interface for managing server audio source lines.

Properties

Link copied to clipboard
abstract val lines: Collection<T>

Functions

Link copied to clipboard
abstract fun clear()
Link copied to clipboard
open fun createBuilder(addonObject: Any, name: String, translation: String, icon: InputStream, weight: Int): BaseServerSourceLine.Builder<T>

Creates a new builder for building instances of server audio source lines using an InputStream as the icon source. The icon will be encoded as a base64 string.

abstract fun createBuilder(addonObject: Any, name: String, translation: String, icon: String, weight: Int): BaseServerSourceLine.Builder<T>

Creates a new builder for building server audio source lines.

Link copied to clipboard
abstract fun getLineById(id: UUID): Optional<T>
Link copied to clipboard
abstract fun getLineByName(name: String): Optional<T>
Link copied to clipboard
open fun unregister(line: T): Boolean
abstract fun unregister(id: UUID): Boolean
abstract fun unregister(name: String): Boolean