744 B
744 B
zcash-android-wallet-sdk / cash.z.ecc.android.sdk / SdkSynchronizer / onSubmissionErrorHandler
onSubmissionErrorHandler
var onSubmissionErrorHandler: ((
Throwable
?) ->
Boolean
)?
A callback to invoke whenever a server error is encountered while submitting a transaction to lightwalletd. Returning true signals that the error was handled and a retry attempt should be made, if possible. This callback is not called on the main thread so any UI work would need to switch context to the main thread.