setAndWaitForOrientationLandscape
fun setAndWaitForOrientationLandscape(setOrientationLandscape: () -> Unit)
Content copied to clipboard
Set the orientation to landscape and wait for the activity configuration change to complete. Do nothing, if the orientation is already in landscape.
Parameters
setOrientationLandscape
The function to set the orientation to landscape.