Interface ChannelCallback


public interface ChannelCallback

This interface represents function protocol for obtaining the channel handles.


Method Summary
 void onChannel(int status, Channel channel)
          Called when cannel has been created or it has changed.
 

Method Detail

onChannel

void onChannel(int status,
               Channel channel)
Called when cannel has been created or it has changed.

Parameters:
status - Status code, either CHANNEL_OPENED, CHANNEL_JOINED, CHANNEL_LEFT, CHANNEL_NOT_FOUND, CHANNEL_PROTOCOL_MISMATCH or CHANNEL_INFO_UPDATED.
channel - Channel instance, or null if creation failed.