onLogout abstract method

void onLogout(
  1. int reason
)

登出回调

在调用 @ref JCClient.logout "logout" 方法成功后会收到此回调

reason 登出原因,参见:@ref JCClient#REASON_NONE "JCClient 错误码"

Implementation

void onLogout(int reason);