2017-07-19 79 views

回答

1

這可能是V3的答案,只...

要列出所有可用的開放通道,例如,使用這樣的:

OpenChannelListQuery clq = OpenChannel.createOpenChannelListQuery();   
clq.next(new OpenChannelListQuery.OpenChannelListQueryResultHandler() { 
     @Override 
     public void onResult(List<OpenChannel> list, SendBirdException e) { 
      Log.i(TAG,"query results, "+list.size()+" open channels"); 
     } 
}); 

記住,你需要的連接完成在調用上述之前。

相關問題