RenderingPacketConsumer
@ExperimentalApi
interface RenderingPacketConsumer<I : Any?, O : Any?> : PacketConsumer
DefaultHardwareBufferEffectsPipeline |
A |
RecordingHardwareBufferEffectsPipeline |
Wraps a |
A PacketConsumer that renders input Packets to an output O.
Summary
Public functions |
|
|---|---|
Unit |
setErrorConsumer(errorConsumer: Consumer<Exception>)Sets a |
Unit |
setRenderOutput(output: O?)Sets the target for where input frames are rendered to. |
Inherited functions |
||||
|---|---|---|---|---|
|
Public functions
setErrorConsumer
fun setErrorConsumer(errorConsumer: Consumer<Exception>): Unit
Sets a Consumer to handle any Exceptions that occur during rendering.
setRenderOutput
fun setRenderOutput(output: O?): Unit
Sets the target for where input frames are rendered to.