Top  Previous  Next

The WaitForNewUnlock method waits until a new system unlock arrives.




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


The TimeOut parameter is measured in milliseconds.




This method is similar to the WaitForUnlock method, except that the unlock to wait for has to be 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