ConnectionErrorHandlingMode

enum ConnectionErrorHandlingMode
{
/// PDFTron SDK will continue running and if necessary switch to demo mode when encountering an unresolvable connection error
e_continue,
/// PDFTron SDK will continue as long as it doesn't need to switch to demo mode in response to the connection error
e_continue_unless_switching_to_demo,
// If continuing without switching to demo mode is not possible, PDFTron SDK functions will throw exceptions.
/// PDFTron SDK will throw exceptions from subsequent usage if a connection error occurs
e_stop
}

Undocumented

  • PDFTron SDK will continue running and if necessary switch to demo mode when encountering an unresolvable connection error

    Declaration

    Objective-C

    e_continue
  • PDFTron SDK will continue as long as it doesn’t need to switch to demo mode in response to the connection error

    Declaration

    Objective-C

    e_continue_unless_switching_to_demo
  • PDFTron SDK will throw exceptions from subsequent usage if a connection error occurs

    Declaration

    Objective-C

    e_stop