onConnectionDelayed method

void onConnectionDelayed(
  1. int retryAfter
)

A callback for when connection is delayed.

  • Automatically attempts to connect to the server in retryAfter seconds
  • Called when the server cannot handle the connection immediately when SendbirdChat.connect is called
  • Called when the server is overloaded. @since 4.7.0

Implementation

void onConnectionDelayed(int retryAfter) {}