setStream

fun setStream(@Nullable stream: Stream)

Attaches stream to be rendered.

Client is responsible to detach (call setStream(null)) any stream before the view is disposed, otherwise, leak may occur.

Parameters

stream

stream to render, null to detach stream