#include <NGIAgoraDataChannel.h>
◆ ~IDataChannelObserver()
| virtual agora::IDataChannelObserver::~IDataChannelObserver |
( |
| ) |
|
|
inlinevirtual |
◆ onLocalDataChannelPublished()
Occurs when the channe is ready to send the data packet.
- Parameters
-
| channel | the published channel. |
◆ onRemoteDataChannelSubscribed()
Occurs when the the channe is added and ready to receive data packet.
- Parameters
-
| channel | the remote channel pointer. |
◆ onRemoteDataChannelUnsubscribed()
Occurs when the the channe is removed.
- Parameters
-
| channel | the remote channel pointer. |
◆ onRemoteDataPacketReceived()
Occurs when the packet is received.
- Parameters
-
| info | the channel Info. |
| packet | the received packet. |
◆ onRemoteDataChannelInfoUpdated()
| virtual void agora::IDataChannelObserver::onRemoteDataChannelInfoUpdated |
( |
const UserDataChannelInfo * | modified_infos, |
|
|
size_t | modified_infos_size, |
|
|
const UserDataChannelInfo * | deleted_infos, |
|
|
size_t | deleted_infos_size ) |
|
inlinevirtual |
Occurs when the remote data channel info updated.
- Parameters
-
| modified_infos | the modifed channel Infos, add or update. |
| modified_infos_size | the size of modifed channel Infos . |
| deleted_infos | the deleted channel Infos. |
| deleted_infos_size | the size of deleted channel Infos . |