Back to Filament

Builder

docs/android/dokka/filament-android/com.google.android.filament/-stream/-builder/index.md

1.75.01.5 KB
Original Source

//filament-android/com.google.android.filament/Stream/Builder

Builder

[main]
open class Builder

Use Builder to construct an Stream object instance. By default, Stream objects are ACQUIRED and must have external images pushed to them via setAcquiredImage. To create a NATIVE stream, call the

kotlin
stream

method on the builder.

Constructors

Builder[main]
constructor()
Use Builder to construct an Stream object instance.

Functions

NameSummary
build[main]
open fun build(engine: Engine): Stream
Creates a new Stream object instance.
height[main]
open fun height(height: Int): Stream.Builder
stream[main]
open fun stream(streamSource: Any): Stream.Builder
Creates a NATIVE stream.
width[main]
open fun width(width: Int): Stream.Builder