Reference of Group

Description of Group

PTTClient PTTChannel VideoChannel

Group Class

nametypeattributesdescription
groupIDintreadonlyGroup ID
groupNamestringreadonlyGroup name
Methods
Events

Methods

addBuddy

int addBuddy(string UserID)
UserIDUser ID to be added.
ReturnRequest Sequence ID. If less then 0, ErrorCode.
Expected EventsPTTClient::OnBuddyRequested()
DescriptionRequest to add
Android SDK2.1.1
iOS SDK2.1.1
Windows SDK2.1.1
Linux SDK3.0.1

acceptBuddy

int acceptBuddy(string RequesterID, boolean isAdd)
RequesterIDRequester's ID
isAddWhether to add Requester
ReturnRequest Sequence ID. If less then 0, ErrorCode.
Expected EventsonBuddyAccepted()
DescriptionAccept to add
Android SDK2.1.1
iOS SDK2.1.1
Windows SDK2.1.1
Linux SDK3.0.1

denyBuddy

int denyBuddy(string RequesterID)
RequesterIDRequester's ID
ReturnRequest Sequence ID. If less then 0, ErrorCode.
Expected EventsonBuddyDenied()
DescriptionDeny to add
Android SDK2.1.1
iOS SDK2.1.1
Windows SDK2.1.1
Linux SDK3.0.1

deleteBuddy

int deleteBuddy(string UserID)
UserIDUser ID to be deleted.
ReturnRequest Sequence ID. If less then 0, ErrorCode.
Expected EventsonBuddyDeleted()
DescriptionRequest to delete
Android SDK2.1.1
iOS SDK2.1.1
Windows SDK2.1.1
Linux SDK3.0.1

Events

onBuddyError

void onBuddyError(Group GroupInstance, int ErrorCode, string ErrorMesssage)
ErrorCodeError code. see Main 6
ErrorMesssageError message
DescriptionErrer event
Android SDK2.1.1
iOS SDK2.1.1
Windows SDK2.1.1
Linux SDK3.0.1

onBuddyResult

void onBuddyResult(Group GroupInstance, int Seq, ResultCode, string ResultMesssage)
SeqRequested Sequence ID
ResultCodeError code. see Main 7
ResultMesssageError message
DescriptionErrer event for request
Android SDK2.1.1
iOS SDK2.1.1
Windows SDK2.1.1
Linux SDK3.0.1

onBuddyAdded

void onBuddyAdded(Group GroupInstance, string UserID)
UserIDAdded user ID
DescriptionResponse of AddBuddy, iOS and Android add it after addBuddy call.
Android SDKNot supported
iOS SDKNot supported
Windows SDK2.1.1
Linux SDK3.0.1

onBuddyDeleted

void onBuddyDeleted(Group GroupInstance, string UserID)
UserIDDeleted user ID
DescriptionResponse of DeleteBuddy
Android SDK2.1.1
iOS SDK2.1.1
Windows SDK2.1.1
Linux SDK3.0.1