| com.pdftron.pdf.ConnectionErrorProc |
ConnectionErrorProc is an interface for a custom handler that that can be passed into SetConnectionErrorProc.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onConnectionError(String message, int error_code, boolean switch_to_demo, Object custom_data)
Process PWS server connection error.
| ||||||||||
Process PWS server connection error.
| message | The reason for the connection failure. |
|---|---|
| error_code | The error code from the connection failure. |
| switch_to_demo | Is 1 if continuing in the current situation requires a change from a production key to demo mode (where watermarks will be applied) and 0 otherwise |
| custom_data | The custom data passed into the call to SetConnectionErrorProc |