waitForStart

open fun waitForStart()

Waits for the key hold action to start holding the key


open fun waitForStart(timeoutMs: Long): Boolean

Waits for the key hold action to start holding the key, up to the specified timeout time

Return

true if started, false otherwise

Parameters

timeoutMs

the maximum amount of time in milliseconds to wait