resizeCurrentWindowContainer

fun resizeCurrentWindowContainer(context: Context, widthPx: Int, heightPx: Int): Boolean

Resizes the current WindowContainer associated with the given context.

Return

true if the resize command was successfully sent, false otherwise.

Parameters

context

The current context, preferably an Activity or wrapped Activity context.

widthPx

The target width in pixels.

heightPx

The target height in pixels.