Back to Filament

setDimensions

docs/android/dokka/filament-android/com.google.android.filament/-stream/set-dimensions.md

1.75.0668 B
Original Source

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

setDimensions

[main]
open fun setDimensions(width: Int, height: Int)

Updates the size of the incoming stream. Whether this value is used is stream dependent. On Android, it must be set when using stream

Parameters

main

widthnew width of the incoming stream
heightnew height of the incoming stream