Modifier and Type | Class and Description |
---|---|
static interface |
DeviceApi.SignFinished.Callback
The callback to call when a signature capturing stopped.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
disable()
Disables the sign finished callback.
|
static boolean |
enable()
Enables the sign finished callback.
|
static Optional<Boolean> |
getIsEnabled()
Gets whether the callback is enabled.
|
static Optional<Integer> |
getTimeout()
Gets the timeout after which the sign finished callback is called.
|
static boolean |
set(DeviceApi.SignFinished.Callback callback)
Sets the callback to call when a signature capturing stopped.
|
static boolean |
setTimeout(int timeoutInMilliseconds)
Sets the duration after which the sign finished callback is called.
|
public static boolean set(DeviceApi.SignFinished.Callback callback)
callback
- The callback.public static Optional<Boolean> getIsEnabled()
public static boolean enable()
public static boolean disable()
public static Optional<Integer> getTimeout()
public static boolean setTimeout(int timeoutInMilliseconds)
timeoutInMilliseconds
- The timeout in ms.Copyright © 2024. All rights reserved.