Package-level declarations

Types

Link copied to clipboard
annotation class AudioSourceValue

Valid audio source values

Link copied to clipboard
annotation class ByteFormatValue

Valid channel config

Link copied to clipboard

Valid lens facing direction values

Link copied to clipboard
annotation class ChannelConfigValue

Valid channel config

Link copied to clipboard
class ChannelWithCloseableData<T>(capacity: Int = RENDEZVOUS, onBufferOverflow: BufferOverflow = BufferOverflow.SUSPEND) : ReceiveChannel<ChannelWithCloseableData.CloseableData<T>>

A channel that sends and receives data along with a close action to be executed when the data is no longer needed.

Link copied to clipboard
class ChunkedFileOutputStream(val filesDir: File, chunkSize: Int, chunkNameGenerator: (Int) -> String = { id -> "chunk_$id" }) : OutputStream

A class that allows to write into multiple files. It is useful when you want to upload a file to a server but you don't want to wait for the record to finish before.

Link copied to clipboard

Job util class that will cancel the previous job if a new one is set.

Link copied to clipboard
class CoroutineScheduler(delayTimeInMs: Long, coroutineDispatcher: CoroutineDispatcher, action: suspend CoroutineScope.() -> Unit)
Link copied to clipboard
object ListUtils
Link copied to clipboard
Link copied to clipboard

Valid process thread priority values

Link copied to clipboard
annotation class RotationValue

Valid integer rotation values.

Link copied to clipboard
annotation class SdrColorStandardValue

SDR color standard

Link copied to clipboard
annotation class ThreadPriorityValue

Valid thread priority values

Link copied to clipboard

Functions

Link copied to clipboard
inline suspend fun <T> ChannelWithCloseableData<T>.useConsumeEach(action: (T) -> Unit)
Link copied to clipboard
inline suspend fun <T, R> ChannelWithCloseableData<T>.useReceive(block: (T) -> R): R

Receives data from the channel and uses it in a block, ensuring that the data is properly closed after use.