Top  Previous  Next

The WaitForScreen method waits for the first screen displayed after the system returns from the locked state.




[boolean] = Display.WaitForScreen([timeout])




This method is similar to the WaitForNewScreen method, except that the screen to wait for can be any screen and not just a new one.


The timeout parameter is optional and is measured in milliseconds. This method returns 'True' if the wait is successful and 'False' if the timeout period expires.


If you specify a value in the timeout parameter, the value of the WaitTimeout property will not have any effect.



Related Topics