# StreamBlockingQueue

class StreamBlockingQueue(var capacity: Int)

## Constructors

StreamBlockingQueue
Link copied to clipboard
constructor(capacity: Int)

## Properties

capacity
Link copied to clipboard
var capacity: Int

## Functions

clear
Link copied to clipboard
fun clear()
drainTo
Link copied to clipboard
fun drainTo(destiny: StreamBlockingQueue)
getSize
Link copied to clipboard
fun getSize(): Int
remainingCapacity
Link copied to clipboard
fun remainingCapacity(): Int
setCacheTime
Link copied to clipboard
fun setCacheTime(cache: Long)
take
Link copied to clipboard
fun take(): MediaFrame
trySend
Link copied to clipboard
fun trySend(item: MediaFrame): Boolean