Reference of Group
Description of Group
PTTClient PTTChannel VideoChannelProperties
name | type | attributes | description |
---|---|---|---|
GorupID | int | readonly | Group ID |
GroupName | string | readonly | Group name |
Methods
AddBuddy
int AddBuddy(string UserID) | |
UserID | User ID to be added. |
---|---|
Return | Request Sequence ID. If less then 0, ErrorCode. |
Expected Events | |
Description | Request to add |
SDK version | 1.1.1 |
AcceptBuddy
int AcceptBuddy(string RequesterID, boolean isAdd) | |
RequesterID | Requester's ID |
---|---|
isAdd | Whether to add Requester |
Return | Request Sequence ID. If less then 0, ErrorCode. |
Expected Events | |
Description | Accept to add |
SDK version | 1.1.1 |
DenyBuddy
int DenyBuddy(string RequesterID) | |
RequesterID Requester's ID | |
---|---|
Return | Request Sequence ID. If less then 0, ErrorCode. |
Expected Events | |
Description | Deny to add |
SDK version | 1.1.1 |
DeleteBuddy
int DeleteBuddy(string UserID) | |
UserID | User ID to be deleted. |
---|---|
Return | Request Sequence ID. If less then 0, ErrorCode. |
Expected Events | |
Description | Request to delete |
SDK version | 1.1.1 |
Events
OnBuddyError
OnBuddyError(Group GroupInstance, int ErrorCode, string ErrorMesssage) | |
ErrorCode | Error code. see Main 6 |
---|---|
ErrorMesssage | Error message |
Description | Errer event |
SDK version | 1.1.1 |
OnBuddyResult
OnBuddyResult(Group GroupInstance, int Seq, ResultCode, string ResultMesssage) | |
Seq | Requested Sequence ID |
---|---|
ResultCode | Error code. see Main 7 |
ResultMesssage | Error message |
Description | Errer event for request |
SDK version | 1.1.1 |
OnBuddyDeleted
OnBuddyDeleted(Group GroupInstance, string UserID) | |
UserID | Deleted user ID |
---|---|
Description | Response of DeleteBuddy |
SDK version | 1.1.1 |