onDisconnect method

void onDisconnect (
  1. int reason
)

SDK与服务器断线回调

reason 断线原因

Implementation

void onDisconnect(int reason);