Chat SDK for Unity and Windows v1.3.0
Public Member Functions | List of all members
AgoraChat.IMultiDeviceDelegate Interface Reference

Public Member Functions

void OnContactMultiDevicesEvent (MultiDevicesOperation operation, string target, string ext)
 
void OnGroupMultiDevicesEvent (MultiDevicesOperation operation, string target, List< string > usernames)
 
void OnThreadMultiDevicesEvent (MultiDevicesOperation operation, string target, List< string > usernames)
 
void OnRoamDeleteMultiDevicesEvent (string conversationId, string deviceId)
 
void OnConversationMultiDevicesEvent (MultiDevicesOperation operation, string conversationId, ConversationType type)
 

Detailed Description

The multi-device callback interface.

Member Function Documentation

◆ OnContactMultiDevicesEvent()

void AgoraChat.IMultiDeviceDelegate.OnContactMultiDevicesEvent ( MultiDevicesOperation  operation,
string  target,
string  ext 
)

The callback for a multi-device contact event.

Parameters
operationThe contact event. See MultiDevicesOperation.
targetThe user ID of the contact.
extThe extension information.

◆ OnGroupMultiDevicesEvent()

void AgoraChat.IMultiDeviceDelegate.OnGroupMultiDevicesEvent ( MultiDevicesOperation  operation,
string  target,
List< string >  usernames 
)

The callback for a multi-device group event.

Parameters
operationThe group event. See MultiDevicesOperation.
targetThe group ID.
usernamesThe target user ID(s) of the operation.

◆ OnThreadMultiDevicesEvent()

void AgoraChat.IMultiDeviceDelegate.OnThreadMultiDevicesEvent ( MultiDevicesOperation  operation,
string  target,
List< string >  usernames 
)

The callback for a multi-device thread event.

Parameters
operationThe thread event. See MultiDevicesOperation.
targetThe thread ID.
usernamesThe target user ID(s) of the operation.

◆ OnRoamDeleteMultiDevicesEvent()

void AgoraChat.IMultiDeviceDelegate.OnRoamDeleteMultiDevicesEvent ( string  conversationId,
string  deviceId 
)

The callback for a multi-device event for deletion of historical messages in a conversation from the server.

Parameters
conversationIdThe conversation ID.
deviceIdThe device ID.

◆ OnConversationMultiDevicesEvent()

void AgoraChat.IMultiDeviceDelegate.OnConversationMultiDevicesEvent ( MultiDevicesOperation  operation,
string  conversationId,
ConversationType  type 
)

The callback for a multi-device conversation event.

Parameters
operationThe conversation event. See MultiDevicesOperation.
conversationIdThe conversation ID.
typeThe conversation type.