public static final class DeviceApi.SignHasTimedOut extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
DeviceApi.SignHasTimedOut.Callback
The callback to call when the signing times out.
|
Modifier and Type | Method and Description |
---|---|
static Optional<Integer> |
getTimeout()
Gets the timeout in milliseconds.
|
static boolean |
set(DeviceApi.SignHasTimedOut.Callback callback)
Sets the callback to call when the signing times out.
|
static boolean |
setTimeout(int timeoutInMilliseconds)
Sets the duration after which the sign timeout callback is called.
|
public static boolean set(DeviceApi.SignHasTimedOut.Callback callback)
callback
- The callback.public static Optional<Integer> getTimeout()
public static boolean setTimeout(int timeoutInMilliseconds)
timeoutInMilliseconds
- The timeout in ms.Copyright © 2024. All rights reserved.