setAndWaitForResolution

fun setAndWaitForResolution(setResolution: () -> Unit)

Set the resolution and wait for the activity configuration change to complete.

Parameters

setResolution

The function to set the orientation to landscape.