setDimensions

actual 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 a native stream. The dimensions should match the associated Texture's dimensions.

Parameters

width

New width in pixels.

height

New height in pixels.

expect 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 a native stream. The dimensions should match the associated Texture's dimensions.

Parameters

width

New width in pixels.

height

New height in pixels.

actual 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 a native stream. The dimensions should match the associated Texture's dimensions.

Parameters

width

New width in pixels.

height

New height in pixels.

actual 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 a native stream. The dimensions should match the associated Texture's dimensions.

Parameters

width

New width in pixels.

height

New height in pixels.

actual 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 a native stream. The dimensions should match the associated Texture's dimensions.

Parameters

width

New width in pixels.

height

New height in pixels.